diff --git a/src/plugins/cmakeprojectmanager/cmakeformatter.cpp b/src/plugins/cmakeprojectmanager/cmakeformatter.cpp index 38e9f0cb32c..58a3c537973 100644 --- a/src/plugins/cmakeprojectmanager/cmakeformatter.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeformatter.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include @@ -92,6 +93,7 @@ public: ActionContainer *menu = ActionManager::createMenu(Constants::CMAKEFORMATTER_MENU_ID); menu->menu()->setTitle(Tr::tr("CMakeFormatter")); + menu->menu()->setIcon(ProjectExplorer::Icons::CMAKE_LOGO.icon()); menu->setOnAllDisabledBehavior(ActionContainer::Show); ActionManager::actionContainer(Core::Constants::M_TOOLS)->addMenu(menu); diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 99ba8b972df..640fb53edb4 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -46,14 +47,19 @@ using namespace Utils; namespace CMakeProjectManager::Internal { CMakeManager::CMakeManager() - : m_runCMakeAction(new QAction(QIcon(), Tr::tr("Run CMake"), this)) + : m_runCMakeAction( + new QAction(ProjectExplorer::Icons::CMAKE_LOGO.icon(), Tr::tr("Run CMake"), this)) , m_clearCMakeCacheAction(new QAction(QIcon(), Tr::tr("Clear CMake Configuration"), this)) - , m_runCMakeActionContextMenu(new QAction(QIcon(), Tr::tr("Run CMake"), this)) + , m_runCMakeActionContextMenu( + new QAction(ProjectExplorer::Icons::CMAKE_LOGO.icon(), Tr::tr("Run CMake"), this)) , m_rescanProjectAction(new QAction(QIcon(), Tr::tr("Rescan Project"), this)) , m_reloadCMakePresetsAction( new QAction(Utils::Icons::RELOAD.icon(), Tr::tr("Reload CMake Presets"), this)) - , m_cmakeProfilerAction(new QAction(QIcon(), Tr::tr("CMake Profiler"), this)) - , m_cmakeDebuggerAction(new QAction(QIcon(), Tr::tr("Start CMake Debugging"), this)) + , m_cmakeProfilerAction( + new QAction(ProjectExplorer::Icons::CMAKE_LOGO.icon(), Tr::tr("CMake Profiler"), this)) + , m_cmakeDebuggerAction(new QAction(ProjectExplorer::Icons::CMAKE_LOGO.icon(), + Tr::tr("Start CMake Debugging"), + this)) { Core::ActionContainer *mbuild = Core::ActionManager::actionContainer(ProjectExplorer::Constants::M_BUILDPROJECT);