summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-01-12 14:21:12 +0100
committercon <qtc-committer@nokia.com>2011-01-12 15:54:16 +0100
commit8bf142fbc3f84fffda557eb5f80568bfcd727dc5 (patch)
treeb49c611cdd3141f729e89ae453c5e56c9a46cc6c /src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp
parente7ad89ffd8a20dae3006ba0da4b18b28bcd60c83 (diff)
downloadqt-creator-8bf142fbc3f84fffda557eb5f80568bfcd727dc5.tar.gz
Let ModeManager::addAction take a QAction instead of Command
There was no reason, and using QAction is more flexible.
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp
index fc0f8f263d..f37f9d11ee 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp
@@ -99,7 +99,7 @@ MaemoQemuManager::MaemoQemuManager(QObject *parent)
qemuCommand->setAttribute(Core::Command::CA_UpdateIcon);
Core::ModeManager *modeManager = core->modeManager();
- modeManager->addAction(qemuCommand, 1);
+ modeManager->addAction(qemuCommand->action(), 1);
// listen to qt version changes to update the start button
connect(QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>)),