projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to workaround QSystemTray's not being able to close its bubble on Mac
[quassel.git]
/
src
/
qtui
/
systraynotificationbackend.cpp
diff --git
a/src/qtui/systraynotificationbackend.cpp
b/src/qtui/systraynotificationbackend.cpp
index
35dd2dd
..
219a981
100644
(file)
--- a/
src/qtui/systraynotificationbackend.cpp
+++ b/
src/qtui/systraynotificationbackend.cpp
@@
-86,9
+86,8
@@
void SystrayNotificationBackend::showBubble() {
}
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
}