forked from qt-creator/qt-creator
ActionManager API cleanup.
d-pointer instead of inheritance static methods Change-Id: I7b2f0c8b05ad3951e1ff26a7d4e08e195d2dd258 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -370,8 +370,7 @@ void FunctionDeclDefLink::showMarker(CPPEditorWidget *editor)
|
||||
else
|
||||
message = tr("Apply changes to declaration");
|
||||
|
||||
Core::ActionManager *actionManager = Core::ICore::actionManager();
|
||||
Core::Command *quickfixCommand = actionManager->command(TextEditor::Constants::QUICKFIX_THIS);
|
||||
Core::Command *quickfixCommand = Core::ActionManager::command(TextEditor::Constants::QUICKFIX_THIS);
|
||||
if (quickfixCommand)
|
||||
message = Utils::ProxyAction::stringWithAppendedShortcut(message, quickfixCommand->keySequence());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user