From ca9d3f5753d9df85e393b906a46df706fa67e9c4 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Fri, 2 Nov 2012 00:31:35 +0100 Subject: 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 Reviewed-by: Olivier Goffart --- src/corelib/animation/qvariantanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/animation') diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp index 951b4bd05d..a6d013b11a 100644 --- a/src/corelib/animation/qvariantanimation.cpp +++ b/src/corelib/animation/qvariantanimation.cpp @@ -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); } -- cgit v1.2.3