|
@@ -226,8 +226,9 @@ void QCMakeCacheModel::setProperties(const QCMakePropertyList& props)
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
|
|
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
|
|
|
QSet<QCMakeProperty> oldProps = this->properties().toSet();
|
|
QSet<QCMakeProperty> oldProps = this->properties().toSet();
|
|
|
#else
|
|
#else
|
|
|
- QSet<QCMakeProperty> oldProps = QSet<QCMakeProperty>(
|
|
|
|
|
- this->properties().begin(), this->properties().end());
|
|
|
|
|
|
|
+ QCMakePropertyList const& oldPropsList = this->properties();
|
|
|
|
|
+ QSet<QCMakeProperty> oldProps =
|
|
|
|
|
+ QSet<QCMakeProperty>(oldPropsList.begin(), oldPropsList.end());
|
|
|
#endif
|
|
#endif
|
|
|
oldProps.intersect(newProps);
|
|
oldProps.intersect(newProps);
|
|
|
newProps.subtract(oldProps);
|
|
newProps.subtract(oldProps);
|