diff options
author | con <qtc-committer@nokia.com> | 2011-01-12 14:21:12 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2011-01-12 15:54:16 +0100 |
commit | 8bf142fbc3f84fffda557eb5f80568bfcd727dc5 (patch) | |
tree | b49c611cdd3141f729e89ae453c5e56c9a46cc6c /src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp | |
parent | e7ad89ffd8a20dae3006ba0da4b18b28bcd60c83 (diff) | |
download | qt-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.cpp | 2 |
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>)), |