D24667: [KStatusNotifierItem] Allow left click when menu is null

Konrad Materka noreply at phabricator.kde.org
Wed Oct 16 11:45:30 BST 2019


kmaterka added a comment.


  I think the best would be to add additional parameter to KSNI. Change from:
  
    void KStatusNotifierItem::setContextMenu(QMenu *menu);
  
  to something like this:
  
    void KStatusNotifierItem::setContextMenu(QMenu *menu, bool takeOwnership = true);
  
  Then, after next release of Frameworks, change implementation in plasma-integration.

REPOSITORY
  R289 KNotifications

REVISION DETAIL
  https://phabricator.kde.org/D24667

To: kmaterka, davidedmundson, broulik, nicolasfella, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191016/8dd2a609/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list