diff --git a/src/plugins/coreplugin/actionmanager/actionmanager.cpp b/src/plugins/coreplugin/actionmanager/actionmanager.cpp index 7a295f6fe69..9bbcca8d1c6 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanager.cpp +++ b/src/plugins/coreplugin/actionmanager/actionmanager.cpp @@ -380,11 +380,6 @@ void ActionManager::setContext(const Context &context) \internal */ -ActionManagerPrivate::ActionManagerPrivate() : - m_presentationModeEnabled(false) -{ -} - ActionManagerPrivate::~ActionManagerPrivate() { // first delete containers to avoid them reacting to command deletion diff --git a/src/plugins/coreplugin/actionmanager/actionmanager_p.h b/src/plugins/coreplugin/actionmanager/actionmanager_p.h index 3792dc7b2ef..a0d32d5214a 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanager_p.h +++ b/src/plugins/coreplugin/actionmanager/actionmanager_p.h @@ -61,7 +61,6 @@ public: typedef QHash IdCmdMap; typedef QHash IdContainerMap; - explicit ActionManagerPrivate(); ~ActionManagerPrivate(); void setContext(const Context &context); @@ -76,19 +75,16 @@ public: void readUserSettings(Id id, Action *cmd); -public slots: void containerDestroyed(); - void actionTriggered(); -public: IdCmdMap m_idCmdMap; IdContainerMap m_idContainerMap; Context m_context; - bool m_presentationModeEnabled; + bool m_presentationModeEnabled = false; }; } // namespace Internal