aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/imageviewer/imagevieweractionhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/imageviewer/imagevieweractionhandler.cpp')
-rw-r--r--src/plugins/imageviewer/imagevieweractionhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageviewer/imagevieweractionhandler.cpp b/src/plugins/imageviewer/imagevieweractionhandler.cpp
index d31b3fd2a3..8a8483e75b 100644
--- a/src/plugins/imageviewer/imagevieweractionhandler.cpp
+++ b/src/plugins/imageviewer/imagevieweractionhandler.cpp
@@ -109,7 +109,7 @@ void ImageViewerActionHandler::registerNewAction(int actionId, const Core::Id &i
const QString &title, const QKeySequence &key)
{
Core::Context context(Constants::IMAGEVIEWER_ID);
- Core::ActionManager *actionManager = Core::ICore::instance()->actionManager();
+ Core::ActionManager *actionManager = Core::ICore::actionManager();
QAction *action = new QAction(title, this);
Core::Command *command = actionManager->registerAction(action, id, context);
if (command)