forked from qt-creator/qt-creator
Rely on lazy instantiation of text editor actions
The actions are already lazily instantiated in TextEditorActionHandler::setupActions(), so there should be no need to call initializeActions() in all plugins on startup. Only the main text editor plugin will still initialize its actions, to make sure the menu items are there.
This commit is contained in:
@@ -225,7 +225,6 @@ void CppPlugin::writeSettings()
|
||||
|
||||
void CppPlugin::extensionsInitialized()
|
||||
{
|
||||
m_actionHandler->initializeActions();
|
||||
}
|
||||
|
||||
void CppPlugin::shutdown()
|
||||
|
||||
Reference in New Issue
Block a user