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:44 +0000 (10:34 +0200)
commit2ebf26646c03c52b4e8069b9f9fbad2390b9b6c1
tree53c8e10981827b604e430485a2042f92ed3f05a5
parent10670c1cd85ac0e56dcde6caee3fdd14a5ce3930
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