From 01c06c4e846155e299644e2e06d7552f29820f9c Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 30 Jan 2017 15:19:57 +0100 Subject: [PATCH] QMake: Disable "Build File" action when opening Qt Creator Change-Id: I99e7c7eb04a02a49881e1b465b1d1098511bc8eb Reviewed-by: Tim Jenssen --- src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp b/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp index a1d269a1886..1f09ef48b83 100644 --- a/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp +++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp @@ -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());