From 5405fc98e7c21d1ce066fbc6d0aec9fba1a2d272 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 1 Feb 2018 12:07:09 +0100 Subject: [PATCH] ProjectExplorer: Remove a use of ActionManager::instance() The used function is static nowadays. Change-Id: I12ccd3429b1b377f004d56585b48ed286ab0edeb Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/taskwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index 75ba8e63916..4882e604fb2 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -346,8 +346,8 @@ void TaskWindow::delayedInitialization() Core::Id id = h->actionManagerId(); if (id.isValid()) { - Core::Command *cmd = Core::ActionManager::instance() - ->registerAction(action, id, d->m_taskWindowContext->context(), true); + Core::Command *cmd = + Core::ActionManager::registerAction(action, id, d->m_taskWindowContext->context(), true); action = cmd->action(); } d->m_listview->addAction(action);