X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fsystraynotificationbackend.cpp;h=219a9817cb5f509e17eccd219912fc426191f994;hb=6848967a5071f48f2cd742b548dd97d8525733df;hp=35dd2dd70c0c16fee481f756293c65da472ec21a;hpb=31cf429ff1ffbc1cf1dea04935744f0ce0fb9829;p=quassel.git diff --git a/src/qtui/systraynotificationbackend.cpp b/src/qtui/systraynotificationbackend.cpp index 35dd2dd7..219a9817 100644 --- a/src/qtui/systraynotificationbackend.cpp +++ b/src/qtui/systraynotificationbackend.cpp @@ -86,9 +86,8 @@ 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 + // there really seems to be no sane way to close the bubble... :( +#ifdef Q_WS_X11 QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1); #endif }