forked from qt-creator/qt-creator
CMakeProjectManager: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using Change-Id: I6a272bc3b75835840b3d6cbe83be6f50f94bbedb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -329,7 +329,7 @@ void CMakeProject::updateQmlJSCodeModel()
|
||||
projectInfo.importPaths.clear();
|
||||
|
||||
QString cmakeImports;
|
||||
CMakeBuildConfiguration *bc = qobject_cast<CMakeBuildConfiguration *>(activeTarget()->activeBuildConfiguration());
|
||||
auto bc = qobject_cast<const CMakeBuildConfiguration *>(activeTarget()->activeBuildConfiguration());
|
||||
if (!bc)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user