X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fmainwin.cpp;h=e134bc0bd1f2e85337acf9309a8d37566f344583;hb=3e4bd5ae86319de1a63622144bb0bbbf977b8478;hp=b75af1bedd79fdaf9a70e12f49ad2e8a34cf81e7;hpb=d1264c1bda04d49693975e0c21acf82b0fb5f007;p=quassel.git diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index b75af1be..e134bc0b 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -666,20 +666,17 @@ void MainWin::sendDesktopNotification(const QString &title, const QString &messa void MainWin::desktopNotificationClosed(uint id, uint reason) { + Q_UNUSED(id); Q_UNUSED(reason); // qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString(); notificationId = 0; } void MainWin::desktopNotificationInvoked(uint id, const QString & action) { + Q_UNUSED(id); Q_UNUSED(action); // qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString(); } -#else /* HAVE_DBUS */ - -void MainWin::desktopNotificationClosed(uint, uint) {} -void MainWin::desktopNotificationInvoked(uint, const QString &) {} - #endif /* HAVE_DBUS */ void MainWin::displayTrayIconMessage(const QString &title, const QString &message) {