dbus/qt qdbusmessage.cpp,1.6,1.7
Thiago J. Macieira
thiago at kemper.freedesktop.org
Sat May 6 03:46:40 PDT 2006
Update of /cvs/dbus/dbus/qt
In directory kemper:/tmp/cvs-serv31269
Modified Files:
qdbusmessage.cpp
Log Message:
Same changelog as before: fix debug-mode compilation
Index: qdbusmessage.cpp
===================================================================
RCS file: /cvs/dbus/dbus/qt/qdbusmessage.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- qdbusmessage.cpp 6 May 2006 10:37:59 -0000 1.6
+++ qdbusmessage.cpp 6 May 2006 10:46:38 -0000 1.7
@@ -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;
}
}
More information about the dbus-commit
mailing list