aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
diff options
context:
space:
mode:
authorTobias Hunger <[email protected]>2020-04-07 14:44:22 +0200
committerTobias Hunger <[email protected]>2020-04-17 13:24:43 +0000
commit74a07f906f60913b52defebd3ed1db59b3239c94 (patch)
tree3bf5d27fc4c145a90dac8f4845e0cd0ea84460e7 /src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
parent7e3afa6657427b06b26ea783deeb6b1ed64f8743 (diff)
CMake: Rename some constants
Rename some constants to get a bit more consistency into the naming scheme. I am so tiered of missing a constant due to it not having _ in the expected places! Change-Id: Ibb5e82ea4e25ccb559352839b96c8a64394f3085 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
index b83d19a4b6b..a647c405f78 100644
--- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
@@ -96,8 +96,8 @@ CMakeBuildSystem::CMakeBuildSystem(CMakeBuildConfiguration *bc)
if (type == FileType::Unknown) {
if (mimeType.isValid()) {
const QString mt = mimeType.name();
- if (mt == CMakeProjectManager::Constants::CMAKEPROJECTMIMETYPE
- || mt == CMakeProjectManager::Constants::CMAKEMIMETYPE)
+ if (mt == CMakeProjectManager::Constants::CMAKE_PROJECT_MIMETYPE
+ || mt == CMakeProjectManager::Constants::CMAKE_MIMETYPE)
type = FileType::Project;
}
}