]> Some of my projects - localmylist.git/commitdiff
Better debug.
authorAPTX <marek321@gmail.com>
Tue, 23 Apr 2013 00:43:40 +0000 (02:43 +0200)
committerAPTX <marek321@gmail.com>
Tue, 23 Apr 2013 00:43:40 +0000 (02:43 +0200)
localmylist/database.cpp

index 74752172888eae8ed2248b4827ae10da868b17f3..6e6a97e0561c58310864cc537e1ccceb5652c6b8 100644 (file)
@@ -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")
        {