From: Manuel Nickschas Date: Tue, 28 Oct 2008 14:07:21 +0000 (+0100) Subject: Don't show an empty systray bubble on Windows anymore. X-Git-Tag: 0.3.1~105 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=fadb064c526843a7f6f6e4532372eee009fa3c3b;p=quassel.git Don't show an empty systray bubble on Windows anymore. --- diff --git a/src/qtui/systraynotificationbackend.cpp b/src/qtui/systraynotificationbackend.cpp index 296372cb..35dd2dd7 100644 --- 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... + // in addition, windows ignores the timeout -_- +#ifndef Q_WS_WIN QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1); +#endif } void SystrayNotificationBackend::showBubbleChanged(const QVariant &v) {