Don't quit when the last window is closed (could still be running in systray...)
[quassel.git] / src / qtui / systraynotificationbackend.cpp
index 296372c..219a981 100644 (file)
@@ -86,8 +86,10 @@ void SystrayNotificationBackend::showBubble() {
 }
 
 void SystrayNotificationBackend::closeBubble() {
-  // there really seems to be no decent way to close the bubble...
+  // there really seems to be no sane way to close the bubble... :(
+#ifdef Q_WS_X11
   QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
+#endif
 }
 
 void SystrayNotificationBackend::showBubbleChanged(const QVariant &v) {