Revision 883e3e0...

Go back to digest for 4th May 2014

Optimization in Utilities

Michel Ludwig committed changes in [kile/2.1] /:

Use the KXMLGUIFactory::plugActionList mechanism to populate user-editable menus

Previously we constructed such menus ourselves and were using 'KXMLGUIFactory::refreshActionProperties()'
to load shortcuts for the actions involved. However, due to a limitation
in that method (in 'KXMLGUIClient::reloadXML()', more precisely) the XMLGUI
for Kile was reset to an unmerged state (without the standard actions). By using
'plugActionList' we don't have to resort to 'refreshActionProperties' any more.

File Changes

Modified 10 files
  •   src/kile.cpp
  •   src/kile.h
  •   src/kileactions.h
  •   src/kilehelp.cpp
  •   src/kilehelp.h
  •   src/kilestdactions.cpp
  •   src/kilestdactions.h
  •   src/kileui.rc
  •   src/userhelp.cpp
  •   src/userhelp.h
10 files changed in total