From 17044fdf3ab785ad5677588ca9e67cc9aa4b0fef Mon Sep 17 00:00:00 2001 From: APTX Date: Tue, 23 Apr 2013 02:43:40 +0200 Subject: [PATCH] Better debug. --- localmylist/database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localmylist/database.cpp b/localmylist/database.cpp index 7475217..6e6a97e 100644 --- a/localmylist/database.cpp +++ b/localmylist/database.cpp @@ -1847,9 +1847,9 @@ void Database::handleNotification(const QString &name) { #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) Q_UNUSED(source); - qDebug() << "Recieved notification" << name << payload; + qDebug() << QString("[%1] Recieved notification %2, %3").arg(connectionName).arg(name).arg(payload.toString()); #else - qDebug() << "Recieved notification" << name; + qDebug() << QString("[%1] Recieved notification %2").arg(connectionName).arg(name); #endif if (name == "new_pending_request") { -- 2.52.0