forked from qt-creator/qt-creator
Utils: Rename most FilePath::{from,to}Variant uses to {from,to}Settings
Specifies the main purpose more clearly. The remaining ones a "true" (internal) variants in models and as action data. Change-Id: I8dd3c846e419f29d88283c2f48268ef6685b19fe Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -766,7 +766,7 @@ const QList<BuildInfo> CMakeProjectImporter::buildInfoList(void *directoryData)
|
||||
info.buildDirectory = data->buildDirectory;
|
||||
|
||||
QVariantMap config = info.extraInfo.toMap(); // new empty, or existing one from createBuildInfo
|
||||
config.insert(Constants::CMAKE_HOME_DIR, data->cmakeHomeDirectory.toString());
|
||||
config.insert(Constants::CMAKE_HOME_DIR, data->cmakeHomeDirectory.toVariant());
|
||||
// Potentially overwrite the default QML Debugging settings for the build type as set by
|
||||
// createBuildInfo, in case we are importing a "Debug" CMake configuration without QML Debugging
|
||||
config.insert(Constants::QML_DEBUG_SETTING,
|
||||
|
||||
Reference in New Issue
Block a user