aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/macros/texteditormacrohandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/macros/texteditormacrohandler.cpp')
-rw-r--r--src/plugins/macros/texteditormacrohandler.cpp4
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);
}