projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't show an empty systray bubble on Windows anymore.
[quassel.git]
/
src
/
qtui
/
systraynotificationbackend.cpp
diff --git
a/src/qtui/systraynotificationbackend.cpp
b/src/qtui/systraynotificationbackend.cpp
index
296372c
..
35dd2dd
100644
(file)
--- a/
src/qtui/systraynotificationbackend.cpp
+++ b/
src/qtui/systraynotificationbackend.cpp
@@
-87,7
+87,10
@@
void SystrayNotificationBackend::showBubble() {
void SystrayNotificationBackend::closeBubble() {
// there really seems to be no decent way to close the bubble...
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
QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
+#endif
}
void SystrayNotificationBackend::showBubbleChanged(const QVariant &v) {
}
void SystrayNotificationBackend::showBubbleChanged(const QVariant &v) {