From 024f1cf4225cb3a2b7fa73c5a99456b4db9da2c9 Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@theqtcompany.com> Date: Thu, 10 Mar 2016 12:21:41 +0100 Subject: [PATCH] Qmake: Do not show "Run qmake" needlessly Do not show "Run qmake" in the menu right after Qt Creator starts up with no project loaded. Change-Id: I371734e902b518b6270ca14887db14c254237ba2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> --- src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp b/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp index 1b3730992da..97c691c4f6d 100644 --- a/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp +++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp @@ -257,6 +257,8 @@ bool QmakeProjectManagerPlugin::initialize(const QStringList &arguments, QString connect(EditorManager::instance(), &EditorManager::currentEditorChanged, this, &QmakeProjectManagerPlugin::updateBuildFileAction); + updateRunQMakeAction(); + return true; } -- GitLab