Commit 46e55681 authored by hjk's avatar hjk
Browse files

remove unneeded #includes

parent a0d86cd6
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "editormanager.h" #include "editormanager.h"
#include "coreconstants.h" #include "coreconstants.h"
#include "modemanager.h" #include "modemanager.h"
#include "uniqueidmanager.h"
#include "minisplitter.h" #include "minisplitter.h"
#include "findplaceholder.h" #include "findplaceholder.h"
#include "outputpane.h" #include "outputpane.h"
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "minisplitter.h" #include "minisplitter.h"
#include "openeditorswindow.h" #include "openeditorswindow.h"
#include "stackededitorgroup.h" #include "stackededitorgroup.h"
#include "uniqueidmanager.h"
#include "actionmanager/actionmanager.h" #include "actionmanager/actionmanager.h"
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
...@@ -62,9 +61,8 @@ EditorSplitter::~EditorSplitter() ...@@ -62,9 +61,8 @@ EditorSplitter::~EditorSplitter()
void EditorSplitter::registerActions() void EditorSplitter::registerActions()
{ {
QList<int> gc = QList<int>() << Constants::C_GLOBAL_ID; const Context gc(Constants::C_GLOBAL_ID);
const QList<int> editorManagerContext = const Context editorManagerContext(Constants::C_EDITORMANAGER);
QList<int>() << ICore::instance()->uniqueIDManager()->uniqueIdentifier(Constants::C_EDITORMANAGER);
ActionManager *am = ICore::instance()->actionManager(); ActionManager *am = ICore::instance()->actionManager();
ActionContainer *mwindow = am->actionContainer(Constants::M_WINDOW); ActionContainer *mwindow = am->actionContainer(Constants::M_WINDOW);
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "progressview.h" #include "progressview.h"
#include "coreconstants.h" #include "coreconstants.h"
#include "icore.h" #include "icore.h"
#include "uniqueidmanager.h"
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "coreconstants.h" #include "coreconstants.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "uniqueidmanager.h"
#include "statusbarwidget.h" #include "statusbarwidget.h"
#include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actionmanager.h>
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h> #include <coreplugin/coreconstants.h>
#include <coreplugin/mimedatabase.h> #include <coreplugin/mimedatabase.h>
#include <coreplugin/uniqueidmanager.h>
#include <coreplugin/fileiconprovider.h> #include <coreplugin/fileiconprovider.h>
#include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/actioncontainer.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment