forked from qt-creator/qt-creator
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 <eike.ziller@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user