forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/10.0'
Conflicts: src/plugins/android/androidrunnerworker.cpp src/plugins/qtsupport/exampleslistmodel.cpp Change-Id: I1628528dbc0ffe874b49bbe022da5933b1348057
This commit is contained in:
@@ -103,7 +103,9 @@ Internal::PresetsData CMakeProject::combinePresets(Internal::PresetsData &cmakeP
|
||||
|
||||
auto resolveInherits = [](auto &presetsHash, auto &presetsList) {
|
||||
Utils::sort(presetsList, [](const auto &left, const auto &right) {
|
||||
if (!left.inherits || left.inherits.value().contains(right.name))
|
||||
const bool sameInheritance = left.inherits && right.inherits
|
||||
&& left.inherits.value() == right.inherits.value();
|
||||
if (!left.inherits || left.inherits.value().contains(right.name) || sameInheritance)
|
||||
return false;
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user