aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-08-26 14:39:11 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-08-26 14:39:11 (GMT)
commite92a7a8e20451c9bffddff43250966eb7168cc91 (patch)
tree795f3dbb5fea1a9020b8278409dcdab3671c4337
parent542863e83f3dcf49e780c43427f9ecd858669f00 (diff)
MOVE: fix crash in MMC-error handling debug output
-rw-r--r--src/server/handler/akappend.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/handler/akappend.cpp b/src/server/handler/akappend.cpp
index a037d30..8fb89a6 100644
--- a/src/server/handler/akappend.cpp
+++ b/src/server/handler/akappend.cpp
@@ -407,10 +407,10 @@ bool AkAppend::parseStream()
} else {
qCDebug(AKONADISERVER_LOG) << "Multiple merge candidates:";
Q_FOREACH (const PimItem &item, result) {
- qCDebug(AKONADISERVER_LOG, "\tID: %ll, RID: %s, GID: %s, Collection: %s (%ll), Resource: %s (%ll)",
- item.id(), qPrintable(item.remoteId()), qPrintable(item.gid()),
- qPrintable(item.collection().name()), item.collectionId(),
- qPrintable(item.collection().resource().name()), item.collection().resource().id());
+ qCDebug(AKONADISERVER_LOG) << "\tID:" << item.id() << ", RID:" << item.remoteId()
+ << ", GID:" << item.gid()
+ << ", Collection:" << item.collection().name() << "(" << item.collectionId() << ")"
+ << ", Resource:" << item.collection().resource().name() << "(" << item.collection().resourceId() << ")";
}
// Nor GID or RID are guaranteed to be unique, so make sure we don't merge
// something we don't want