X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsystraynotificationbackend.cpp;h=35dd2dd70c0c16fee481f756293c65da472ec21a;hp=1c8b572554d38916cb1f6bd01e2fedf7ee1bb4a9;hb=99934fe47293f61e1e62ecc0f0d49f958a992c32;hpb=5c78a50fa720e5f82fcaa03c0176feab71d74c8e diff --git a/src/qtui/systraynotificationbackend.cpp b/src/qtui/systraynotificationbackend.cpp index 1c8b5725..35dd2dd7 100644 --- a/src/qtui/systraynotificationbackend.cpp +++ b/src/qtui/systraynotificationbackend.cpp @@ -58,7 +58,7 @@ void SystrayNotificationBackend::notify(const Notification ¬ification) { if(_showBubble) { showBubble(); } - if(_animate && _notifications.count() == 1) { + if(_animate) { startAnimation(); } } @@ -87,7 +87,10 @@ void SystrayNotificationBackend::showBubble() { 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); +#endif } void SystrayNotificationBackend::showBubbleChanged(const QVariant &v) {