diff options
author | Thiago Macieira <thiago.macieira@trolltech.com> | 2006-05-06 10:46:38 +0000 |
---|---|---|
committer | John Palmieri <johnp@remedyz.boston.redhat.com> | 2006-06-28 08:15:16 -0400 |
commit | 8d717a3b545ebfe8d848920b9c6c9e81ebb975db (patch) | |
tree | 7863f6455c26fbf5442014099204d7da67e6b4af | |
parent | 6ed09e4d7cb4012295db707eceabd1b3f68b24e8 (diff) |
Same changelog as before: fix debug-mode compilation
-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 456c1d2..d0a0f1e 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; } } |