Work around MOC ignoring -D options by having dummy stubs
[quassel.git] / src / qtui / mainwin.cpp
index 2ae203d..e3f4e22 100644 (file)
@@ -681,6 +681,11 @@ void MainWin::desktopNotificationInvoked(uint id, const QString & 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) {