forked from qt-creator/qt-creator
ActionManager: Small cleanups
No code change Change-Id: Iaceebaa1dccbd3667f1736a7167aedecabc9d4a2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
@@ -61,7 +61,6 @@ public:
|
||||
typedef QHash<Id, Action *> IdCmdMap;
|
||||
typedef QHash<Id, ActionContainerPrivate *> 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
|
||||
|
Reference in New Issue
Block a user