summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-06-25 17:37:59 +0200
committerhjk <qtc-committer@nokia.com>2010-06-25 17:38:25 +0200
commit2f5f358ff420bf4fa2fdc09d105463bd1e0e792f (patch)
treea826357ccde587a1cce12749ff5fbb0ae8ac6f79 /src/plugins/cmakeprojectmanager/cmakeeditor.cpp
parent2bdf10ce1077fc21f6a3835de1f103f87c75eebf (diff)
downloadqt-creator-2f5f358ff420bf4fa2fdc09d105463bd1e0e792f.tar.gz
Core::Context: compile hot fix for Windows.
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditor.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeeditor.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
index bb4fa19377..c9d1720389 100644
--- a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
@@ -33,7 +33,6 @@
#include "cmakeeditorfactory.h"
#include "cmakeprojectconstants.h"
-#include <coreplugin/uniqueidmanager.h>
#include <texteditor/fontsettings.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorconstants.h>
@@ -49,12 +48,10 @@ using namespace CMakeProjectManager::Internal;
//
CMakeEditorEditable::CMakeEditorEditable(CMakeEditor *editor)
- : BaseTextEditorEditable(editor)
-{
- Core::UniqueIDManager *uidm = Core::UniqueIDManager::instance();
- m_context << uidm->uniqueIdentifier(CMakeProjectManager::Constants::C_CMAKEEDITOR);
- m_context << uidm->uniqueIdentifier(TextEditor::Constants::C_TEXTEDITOR);
-}
+ : BaseTextEditorEditable(editor),
+ m_context(CMakeProjectManager::Constants::C_CMAKEEDITOR,
+ TextEditor::Constants::C_TEXTEDITOR)
+{ }
Core::Context CMakeEditorEditable::context() const
{