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:
- Load both Clazy and Cppcheck plugins
- Reload Clazy plugin
- Clazy's menu items will be placed after the Cppcheck one.