forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0' into 10.0
Conflicts: src/plugins/texteditor/codestyleselectorwidget.cpp src/plugins/updateinfo/updateinfoplugin.cpp Change-Id: Iac33b852ccef6018bd81188716526aa70c3f5a2d
This commit is contained in:
@@ -61,8 +61,9 @@ static std::vector<std::unique_ptr<CMakeTool>> autoDetectCMakeTools()
|
||||
|
||||
if (HostOsInfo::isMacHost()) {
|
||||
path.append("/Applications/CMake.app/Contents/bin");
|
||||
path.append("/usr/local/bin");
|
||||
path.append("/opt/local/bin");
|
||||
path.append("/usr/local/bin"); // homebrew intel
|
||||
path.append("/opt/homebrew/bin"); // homebrew arm
|
||||
path.append("/opt/local/bin"); // macports
|
||||
}
|
||||
|
||||
FilePaths suspects;
|
||||
|
||||
@@ -95,7 +95,7 @@ void ConfigModelItemDelegate::setModelData(QWidget *editor, QAbstractItemModel *
|
||||
if (data.type == ConfigModel::DataItem::FILE || data.type == ConfigModel::DataItem::DIRECTORY) {
|
||||
auto edit = static_cast<PathChooser *>(editor);
|
||||
if (edit->rawFilePath().toString() != data.value)
|
||||
model->setData(index, edit->filePath().toString(), Qt::EditRole);
|
||||
model->setData(index, edit->rawFilePath().toString(), Qt::EditRole);
|
||||
return;
|
||||
} else if (!data.values.isEmpty()) {
|
||||
auto edit = static_cast<QComboBox *>(editor);
|
||||
|
||||
Reference in New Issue
Block a user