diff options
author | Thiago Macieira <thiago.macieira@trolltech.com> | 2006-05-06 10:46:38 +0000 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@trolltech.com> | 2006-05-06 10:46:38 +0000 |
commit | 96af5cec84b49d1e7b6e8c012924f9e6b5aefb7d (patch) | |
tree | d91f61e67530eab2de6ef0a5b261f6674cd8e126 | |
parent | adc7240100c1462f3646b63a7d43b1daf43320ea (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; } } |