diff options
author | hjk <qtc-committer@nokia.com> | 2010-06-25 17:37:59 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-06-25 17:38:25 +0200 |
commit | 2f5f358ff420bf4fa2fdc09d105463bd1e0e792f (patch) | |
tree | a826357ccde587a1cce12749ff5fbb0ae8ac6f79 /src/plugins/texteditor/texteditoractionhandler.cpp | |
parent | 2bdf10ce1077fc21f6a3835de1f103f87c75eebf (diff) | |
download | qt-creator-2f5f358ff420bf4fa2fdc09d105463bd1e0e792f.tar.gz |
Core::Context: compile hot fix for Windows.
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.cpp')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 604319149f..ce03aae9fc 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -38,7 +38,6 @@ #include <locator/locatormanager.h> #include <coreplugin/icore.h> #include <coreplugin/coreconstants.h> -#include <coreplugin/uniqueidmanager.h> #include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/command.h> @@ -53,7 +52,7 @@ using namespace TextEditor; using namespace TextEditor::Internal; -TextEditorActionHandler::TextEditorActionHandler(const QString &context, +TextEditorActionHandler::TextEditorActionHandler(const char *context, uint optionalActions) : QObject(Core::ICore::instance()), m_undoAction(0), @@ -91,10 +90,9 @@ TextEditorActionHandler::TextEditorActionHandler(const QString &context, m_joinLinesAction(0), m_optionalActions(optionalActions), m_currentEditor(0), + m_contextId(context), m_initialized(false) { - m_contextId << Core::UniqueIDManager::instance()->uniqueIdentifier(context); - connect(Core::ICore::instance()->editorManager(), SIGNAL(currentEditorChanged(Core::IEditor*)), this, SLOT(updateCurrentEditor(Core::IEditor*))); } |