From 7c3ea5a78c30c90d6ce250aa312a2cb6cc587901 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 29 Sep 2017 10:49:18 +0200 Subject: [PATCH] ProjectExplorer: Make some more menu group IDs public This way other plugins can add entries to those menus. Change-Id: I3c536a85543d267983a6797f62e25be9e4b7e006 Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/projectexplorer.cpp | 4 ---- src/plugins/projectexplorer/projectexplorerconstants.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 2b27328ddbf..5cb8ac58508 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -231,10 +231,6 @@ const char M_RECENTPROJECTS[] = "ProjectExplorer.Menu.Recent"; const char M_UNLOADPROJECTS[] = "ProjectExplorer.Menu.Unload"; const char M_SESSION[] = "ProjectExplorer.Menu.Session"; -// Menu groups -const char G_BUILD_RUN[] = "ProjectExplorer.Group.Run"; -const char G_BUILD_CANCEL[] = "ProjectExplorer.Group.BuildCancel"; - const char RUNMENUCONTEXTMENU[] = "Project.RunMenu"; const char FOLDER_OPEN_LOCATIONS_CONTEXT_MENU[] = "Project.F.OpenLocation.CtxMenu"; const char PROJECT_OPEN_LOCATIONS_CONTEXT_MENU[] = "Project.P.OpenLocation.CtxMenu"; diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index f0f4b2762af..98c97f9f6ad 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -50,6 +50,8 @@ const char G_BUILD_BUILD[] = "ProjectExplorer.Group.Build"; const char G_BUILD_DEPLOY[] = "ProjectExplorer.Group.Deploy"; const char G_BUILD_REBUILD[] = "ProjectExplorer.Group.Rebuild"; const char G_BUILD_CLEAN[] = "ProjectExplorer.Group.Clean"; +const char G_BUILD_RUN[] = "ProjectExplorer.Group.Run"; +const char G_BUILD_CANCEL[] = "ProjectExplorer.Group.BuildCancel"; // Context menus const char M_SESSIONCONTEXT[] = "Project.Menu.Session";