Displaying an empty bubble with 1ms timeout to force the bubble to close on re-activation
does not work on Mac either. Please let me know if there are problems with that on X11 as well.
Fixes BR #290.
}
void SystrayNotificationBackend::closeBubble() {
}
void SystrayNotificationBackend::closeBubble() {
- // there really seems to be no decent way to close the bubble...
- // in addition, windows ignores the timeout -_-
-#ifndef Q_WS_WIN
+ // there really seems to be no sane way to close the bubble... :(
+#ifdef Q_WS_X11
QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
#endif
}
QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
#endif
}