From e65dc8007b0626e86d850415b60384f02f2b356f Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 8 Jan 2024 14:53:19 +0100 Subject: [PATCH] CMake: Remove ActionBuilder::setCommandDescription() calls ... where the default implementation via stripAccellerator(action()->text()) would yield the same result. Change-Id: Ie921863d472e0592a8c97830d67873ccfb1b57da Reviewed-by: Eike Ziller --- src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 09facc0ed24..f1cc03ee48f 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -117,7 +117,6 @@ CMakeManager::CMakeManager() .setIcon(ProjectExplorer::Icons::CMAKE_LOGO.icon()) .setText(Tr::tr("CMake Profiler")) .bindContextAction(&m_cmakeProfilerAction) - .setCommandDescription(m_cmakeProfilerAction->text()) .addToContainer(Debugger::Constants::M_DEBUG_ANALYZER, Debugger::Constants::G_ANALYZER_TOOLS, false) @@ -136,7 +135,6 @@ CMakeManager::CMakeManager() .setText(Tr::tr("Start CMake Debugging")) .setIcon(ProjectExplorer::Icons::CMAKE_LOGO.icon()) .bindContextAction(&m_cmakeDebuggerAction) - .setCommandDescription(m_cmakeDebuggerAction->text()) .addToContainer(PEC::M_DEBUG_STARTDEBUGGING, Constants::CMAKE_DEBUGGING_GROUP) .addOnTriggered(this, [] { ProjectExplorerPlugin::runStartupProject(PEC::DAP_CMAKE_DEBUG_RUN_MODE,