kmaterka created this revision. kmaterka added a reviewer: davidedmundson. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kmaterka requested review of this revision.
REVISION SUMMARY If associatedWidget and menu are the same then instead of "activate" action context menu is used. When both are null coparition is always true but context menu can't be shown, since it is null. It is partial solution for a problem described in BUG 365105. TEST PLAN As described in the bug: - create QSystemTrayIcon - assign QMenu - show, hide and show again Both right click and left click do nothing. After change left click works REPOSITORY R289 KNotifications BRANCH master REVISION DETAIL https://phabricator.kde.org/D24667 AFFECTED FILES src/kstatusnotifieritem.cpp src/kstatusnotifieritemdbus_p.cpp To: kmaterka, davidedmundson Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns