diff options
author | hjk <qtc-committer@nokia.com> | 2012-01-24 15:36:40 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-01-24 18:48:47 +0100 |
commit | 4a21f0c3c8b30cd0bc5957110506e304c629a99b (patch) | |
tree | 3d2477e3f1485ccaa319557bb2229e3f34324867 /src/plugins/macros/texteditormacrohandler.cpp | |
parent | c14a4756a92586424f0f1a00c6134e441db50afd (diff) | |
download | qt-creator-4a21f0c3c8b30cd0bc5957110506e304c629a99b.tar.gz |
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/macros/texteditormacrohandler.cpp')
-rw-r--r-- | src/plugins/macros/texteditormacrohandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/macros/texteditormacrohandler.cpp b/src/plugins/macros/texteditormacrohandler.cpp index 22073930fa..11d58f3e80 100644 --- a/src/plugins/macros/texteditormacrohandler.cpp +++ b/src/plugins/macros/texteditormacrohandler.cpp @@ -78,7 +78,7 @@ void TextEditorMacroHandler::startRecording(Macros::Macro *macro) m_currentEditor->widget()->installEventFilter(this); // Block completion - Core::ActionManager *am = Core::ICore::instance()->actionManager(); + Core::ActionManager *am = Core::ICore::actionManager(); am->command(TextEditor::Constants::COMPLETE_THIS)->shortcut()->blockSignals(true); } @@ -89,7 +89,7 @@ void TextEditorMacroHandler::endRecordingMacro(Macros::Macro *macro) IMacroHandler::endRecordingMacro(macro); // Unblock completion - Core::ActionManager *am = Core::ICore::instance()->actionManager(); + Core::ActionManager *am = Core::ICore::actionManager(); am->command(TextEditor::Constants::COMPLETE_THIS)->shortcut()->blockSignals(false); } |