From bae73e72468fae476d4b6c5eae839ba277cb6e6c Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 4 Sep 2017 17:10:02 +0200 Subject: [PATCH] ProjectManager: Use the right constant when creating a menu Change-Id: Icb7b17929e269469ccbcb24c2ab50fc67c167be3 Reviewed-by: hjk Reviewed-by: Tim Jenssen --- src/plugins/projectexplorer/projectexplorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 6f7652cc22d..46e4f39338e 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -697,7 +697,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er folderOpenLocationCtxMenu->setOnAllDisabledBehavior(ActionContainer::Show); ActionContainer *subProjectOpenLocationCtxMenu = - ActionManager::createMenu(Constants::PROJECT_OPEN_LOCATIONS_CONTEXT_MENU); + ActionManager::createMenu(Constants::SUBPROJECT_OPEN_LOCATIONS_CONTEXT_MENU); subProjectOpenLocationCtxMenu->menu()->setTitle(tr("Open...")); subProjectOpenLocationCtxMenu->setOnAllDisabledBehavior(ActionContainer::Show);