summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2012-11-02 00:31:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-11 10:30:23 +0200
commitca9d3f5753d9df85e393b906a46df706fa67e9c4 (patch)
treed9128e4a772d909832fc475e8089b9c496d94982 /src/corelib/animation
parentdfa36cd65d8874a2cd7831822da67349d9c87dad (diff)
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>
Diffstat (limited to 'src/corelib/animation')
-rw-r--r--src/corelib/animation/qvariantanimation.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}