mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 16:58:00 +02:00
Same changelog as before: fix debug-mode compilation
This commit is contained in:
parent
c7f3c89ee9
commit
b6c9d86105
1 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue