forked from qt-creator/qt-creator
Let ModeManager::addAction take a QAction instead of Command
There was no reason, and using QAction is more flexible.
This commit is contained in:
@@ -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>)),
|
||||
|
||||
Reference in New Issue
Block a user