summaryrefslogtreecommitdiff
path: root/src/plugins/madde/maemoqemumanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/madde/maemoqemumanager.cpp')
-rw-r--r--src/plugins/madde/maemoqemumanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/madde/maemoqemumanager.cpp b/src/plugins/madde/maemoqemumanager.cpp
index 49d2ee10eb..4911de3c60 100644
--- a/src/plugins/madde/maemoqemumanager.cpp
+++ b/src/plugins/madde/maemoqemumanager.cpp
@@ -97,8 +97,7 @@ MaemoQemuManager::MaemoQemuManager(QObject *parent)
m_qemuAction->setToolTip(tr("Start MeeGo Emulator"));
connect(m_qemuAction, SIGNAL(triggered()), this, SLOT(startRuntime()));
- Core::ActionManager *actionManager = Core::ICore::actionManager();
- Core::Command *qemuCommand = actionManager->registerAction(m_qemuAction,
+ Core::Command *qemuCommand = Core::ActionManager::registerAction(m_qemuAction,
"MaemoEmulator", Core::Context(Core::Constants::C_GLOBAL));
qemuCommand->setAttribute(Core::Command::CA_UpdateText);
qemuCommand->setAttribute(Core::Command::CA_UpdateIcon);