[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kde4/playground/libs/qt-dbus
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-05-06 10:45:55
Message-ID: 1146912355.802919.30030.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 537959 by thiago:
Fix debug-mode compilation
M +5 -3 qdbusmessage.cpp
--- branches/work/kde4/playground/libs/qt-dbus/qdbusmessage.cpp #537958:537959
@@ -665,13 +665,15 @@
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;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic