]> Some of my projects - localmylist.git/commitdiff
Fix debug line not building with Qt4...
authorAPTX <marek321@gmail.com>
Sat, 13 Apr 2013 14:19:43 +0000 (16:19 +0200)
committerAPTX <marek321@gmail.com>
Sat, 13 Apr 2013 14:19:43 +0000 (16:19 +0200)
localmylist/database.cpp

index d8f22656bae4a9e1ba214d0e50bdce15fb63ee1e..80ca8b82749b718f06375d77fc59365b6e24566f 100644 (file)
@@ -1841,8 +1841,10 @@ void Database::handleNotification(const QString &name)
 {
 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
        Q_UNUSED(source);
-#endif
        qDebug() << "Recieved notification" << name << payload;
+#else
+       qDebug() << "Recieved notification" << name;
+#endif
        if (name == "new_pending_request")
        {
                emit newPendingRequest();