diff options
| author | Thiago Macieira <thiago@kde.org> | 2006-05-06 10:46:38 +0000 | 
|---|---|---|
| committer | Thiago Macieira <thiago@kde.org> | 2006-05-06 10:46:38 +0000 | 
| commit | b6c9d861058c2b9dec6a4491c37e8ef420704b96 (patch) | |
| tree | 13a804a79894c819a71e03af85501f18223d4d2d /qt/qdbusmessage.cpp | |
| parent | c7f3c89ee94925a65466a140841695094fd23bd7 (diff) | |
Same changelog as before: fix debug-mode compilation
Diffstat (limited to 'qt/qdbusmessage.cpp')
| -rw-r--r-- | qt/qdbusmessage.cpp | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/qt/qdbusmessage.cpp b/qt/qdbusmessage.cpp index 456c1d2e..d0a0f1e5 100644 --- a/qt/qdbusmessage.cpp +++ b/qt/qdbusmessage.cpp @@ -665,13 +665,15 @@ static void debugVariant(QDebug dbg, const QVariant &v)      dbg.nospace() << ")";  }     -static void debugVariantList(QDebug dbg, const QVariantList list) +static void debugVariantList(QDebug dbg, const QVariantList &list)  {      bool first = true; -    foreach (const QVariant &v, list) { +    QVariantList::ConstIterator it = list.constBegin(); +    QVariantList::ConstIterator end = list.constEnd(); +    for ( ; it != end; ++it) {          if (!first)              dbg.nospace() << ", "; -        debugVariant(dbg, v); +        debugVariant(dbg, *it);          first = false;      }  }  | 
