projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ChatView now asks the scene if scrolling is ok on message appending
[quassel.git]
/
src
/
qtui
/
systraynotificationbackend.cpp
diff --git
a/src/qtui/systraynotificationbackend.cpp
b/src/qtui/systraynotificationbackend.cpp
index
1c8b572
..
35dd2dd
100644
(file)
--- a/
src/qtui/systraynotificationbackend.cpp
+++ b/
src/qtui/systraynotificationbackend.cpp
@@
-58,7
+58,7
@@
void SystrayNotificationBackend::notify(const Notification ¬ification) {
if(_showBubble) {
showBubble();
}
if(_showBubble) {
showBubble();
}
- if(_animate
&& _notifications.count() == 1
) {
+ if(_animate) {
startAnimation();
}
}
startAnimation();
}
}
@@
-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) {