summaryrefslogtreecommitdiff
path: root/src/plugins/cppcheck/cppcheckplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-06-26 13:59:38 +0200
committerhjk <hjk@qt.io>2020-07-06 06:07:13 +0000
commit430a33dcd9ac80ddb848e41f8f059102857c88aa (patch)
tree9af1619701306a6bad6a06645091f2d3b2838e9c /src/plugins/cppcheck/cppcheckplugin.cpp
parent492439262079dcf1d5c503208b905be8c82a694b (diff)
downloadqt-creator-430a33dcd9ac80ddb848e41f8f059102857c88aa.tar.gz
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckplugin.cpp')
-rw-r--r--src/plugins/cppcheck/cppcheckplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppcheckplugin.cpp b/src/plugins/cppcheck/cppcheckplugin.cpp
index 4bbab6a4de..6d338a1df3 100644
--- a/src/plugins/cppcheck/cppcheckplugin.cpp
+++ b/src/plugins/cppcheck/cppcheckplugin.cpp
@@ -145,7 +145,7 @@ void CppcheckPluginPrivate::updateManualRunAction()
using namespace ProjectExplorer;
const Project *project = SessionManager::startupProject();
const Target *target = SessionManager::startupTarget();
- const Core::Id cxx = ProjectExplorer::Constants::CXX_LANGUAGE_ID;
+ const Utils::Id cxx = ProjectExplorer::Constants::CXX_LANGUAGE_ID;
const bool canRun = target && project->projectLanguages().contains(cxx)
&& ToolChainKitAspect::cxxToolChain(target->kit());
manualRunAction->setEnabled(canRun);