Remove qSort from QVariantAnimation
QtAlgorithms is getting deprecated, see http://www.mail-archive.com/development@qt-project.org/msg01603.html Change-Id: Ife76c249eb950e976c626acebbe00372ffc70df9 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
dfa36cd65d
commit
ca9d3f5753
@ -620,7 +620,7 @@ void QVariantAnimation::setKeyValues(const KeyValues &keyValues)
|
||||
{
|
||||
Q_D(QVariantAnimation);
|
||||
d->keyValues = keyValues;
|
||||
qSort(d->keyValues.begin(), d->keyValues.end(), animationValueLessThan);
|
||||
std::sort(d->keyValues.begin(), d->keyValues.end(), animationValueLessThan);
|
||||
d->recalculateCurrentInterval(/*force=*/true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user