ActionManager: Small cleanups

No code change

Change-Id: Iaceebaa1dccbd3667f1736a7167aedecabc9d4a2
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-09-16 15:07:45 +02:00
parent cfa69dbbcc
commit 76ffbbd43c
2 changed files with 1 additions and 10 deletions

View File

@@ -380,11 +380,6 @@ void ActionManager::setContext(const Context &context)
\internal \internal
*/ */
ActionManagerPrivate::ActionManagerPrivate() :
m_presentationModeEnabled(false)
{
}
ActionManagerPrivate::~ActionManagerPrivate() ActionManagerPrivate::~ActionManagerPrivate()
{ {
// first delete containers to avoid them reacting to command deletion // first delete containers to avoid them reacting to command deletion

View File

@@ -61,7 +61,6 @@ public:
typedef QHash<Id, Action *> IdCmdMap; typedef QHash<Id, Action *> IdCmdMap;
typedef QHash<Id, ActionContainerPrivate *> IdContainerMap; typedef QHash<Id, ActionContainerPrivate *> IdContainerMap;
explicit ActionManagerPrivate();
~ActionManagerPrivate(); ~ActionManagerPrivate();
void setContext(const Context &context); void setContext(const Context &context);
@@ -76,19 +75,16 @@ public:
void readUserSettings(Id id, Action *cmd); void readUserSettings(Id id, Action *cmd);
public slots:
void containerDestroyed(); void containerDestroyed();
void actionTriggered(); void actionTriggered();
public:
IdCmdMap m_idCmdMap; IdCmdMap m_idCmdMap;
IdContainerMap m_idContainerMap; IdContainerMap m_idContainerMap;
Context m_context; Context m_context;
bool m_presentationModeEnabled; bool m_presentationModeEnabled = false;
}; };
} // namespace Internal } // namespace Internal