forked from qt-creator/qt-creator
QMake: Disable "Build File" action when opening Qt Creator
Change-Id: I99e7c7eb04a02a49881e1b465b1d1098511bc8eb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -212,7 +212,7 @@ bool QmakeProjectManagerPlugin::initialize(const QStringList &arguments, QString
|
||||
|
||||
m_buildFileAction = new Utils::ParameterAction(tr("Build File"), tr("Build File \"%1\""),
|
||||
Utils::ParameterAction::AlwaysEnabled, this);
|
||||
command = ActionManager::registerAction(m_buildFileAction, Constants::BUILDFILE);
|
||||
command = ActionManager::registerAction(m_buildFileAction, Constants::BUILDFILE, projectContext);
|
||||
command->setAttribute(Command::CA_Hide);
|
||||
command->setAttribute(Command::CA_UpdateText);
|
||||
command->setDescription(m_buildFileAction->text());
|
||||
|
Reference in New Issue
Block a user