D15140: Fix random order in "Analyze Current File/Project With" menus

Anton Anikin noreply at phabricator.kde.org
Wed Aug 29 10:57:05 BST 2018


antonanikin created this revision.
antonanikin added a reviewer: KDevelop.
Herald added a project: KDevelop.
antonanikin requested review of this revision.

REVISION SUMMARY
  The patch fixes current random order "Code" -> "Analyze Current File/Project With" menus. Since KXmlGui framework doesn't support menu auto-sorting we have random order of menu items, which depends on plugin loading order.
  
  Steps to reproduce:
  
  1. Load both Clazy and Cppcheck plugins
  2. Reload Clazy plugin
  3. Clazy's menu items will be placed after the Cppcheck one.

TEST PLAN
  Tested on master branch, works as expected

REPOSITORY
  R32 KDevelop

BRANCH
  master

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

AFFECTED FILES
  kdevplatform/shell/mainwindow_p.cpp

To: antonanikin, #kdevelop
Cc: kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180829/4df25356/attachment.html>


More information about the KDevelop-devel mailing list