From 76ffbbd43ce1d9da6ac9d0481cd2aa989bc9650f Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 16 Sep 2015 15:07:45 +0200 Subject: [PATCH] ActionManager: Small cleanups No code change Change-Id: Iaceebaa1dccbd3667f1736a7167aedecabc9d4a2 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/actionmanager/actionmanager.cpp | 5 ----- src/plugins/coreplugin/actionmanager/actionmanager_p.h | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) 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