Fix tray icon behavior for non-KDE StatusNotifier
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 14 Apr 2010 07:41:02 +0000 (09:41 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 14 Apr 2010 08:34:51 +0000 (10:34 +0200)
commit62c360e674f17146c6c52e874e854e24bab643b3
tree99ca32db19aaf47cc7dd3d65584a9eb7a032a59c
parent03169eb68e1176b94b222b69a978a3e64d658f96
Fix tray icon behavior for non-KDE StatusNotifier

Our workaround for QSystemTrayIcon activation misbehavior (clicking the bubble
should NOT send two activation signals!) fails when using StatusNotifier instead,
but only if KDE integration is disabled (wtf?). Turns out we don't get mouse events
from the notifier then.

Solution: only enable workaround when using the legacy tray icon.
src/qtui/systemtray.h
src/qtui/systraynotificationbackend.cpp