D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions

René J.V. Bertin noreply at phabricator.kde.org
Mon Nov 19 12:00:08 GMT 2018


rjvbb updated this revision to Diff 45797.
rjvbb added a comment.


  Well, apparently the contextmenu CAN change during a session (at least on Mac and when I open it in different opened-at-session-load documents when the initial project load and parsing activity is still in progress).
  
  Using a QPointer<QMenu> fixes that but I left in debugging traces for good measure.

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16882?vs=45782&id=45797

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

AFFECTED FILES
  kdevplatform/shell/textdocument.cpp
  kdevplatform/shell/textdocument.h

To: rjvbb, #kdevelop, kossebau
Cc: egospodinova, kossebau, kde-frameworks-devel, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20181119/7b752f55/attachment.html>


More information about the KDevelop-devel mailing list