forked from qt-creator/qt-creator
ActionManager: transfer ownership from main window to core plugin
Also make a bit less dependent on main window: - Menus do not need to start with main window as parent. - Centering the presentation label on the main window is wrong in the presence of extra windows anyhow. It should be centered on the active window. Unfortunately, actions still must be added to the main window, because actions that are not children of visible widgets do not trigger. Change-Id: Ibb99644a3723de476db465ebe6a9cdc0820ea692 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -49,7 +49,6 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
|
||||
class ActionManager;
|
||||
class StatusBarWidget;
|
||||
class EditorManager;
|
||||
class ExternalToolManager;
|
||||
@@ -69,7 +68,6 @@ class VcsManager;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class ActionManagerPrivate;
|
||||
class FancyTabWidget;
|
||||
class GeneralSettings;
|
||||
class ProgressManagerPrivate;
|
||||
@@ -168,7 +166,6 @@ private:
|
||||
SettingsDatabase *m_settingsDatabase;
|
||||
mutable QPrinter *m_printer;
|
||||
WindowSupport *m_windowSupport;
|
||||
ActionManager *m_actionManager;
|
||||
EditorManager *m_editorManager;
|
||||
ExternalToolManager *m_externalToolManager;
|
||||
MessageManager *m_messageManager;
|
||||
|
||||
Reference in New Issue
Block a user