Remove use of deprecated Qt algorithms

Change-Id: Ib35cffa2d5762874feea9b1d4df7f569c0e5f496
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Orgad Shaneh
2016-08-03 23:29:58 +03:00
committed by Orgad Shaneh
parent d4b3789db4
commit 670e54345c
33 changed files with 103 additions and 81 deletions

View File

@@ -31,6 +31,8 @@
#include <cstring>
#include <algorithm>
namespace QmlDesigner {
// using cache as a container which deletes sharedmemory pointers at process exit
@@ -68,7 +70,7 @@ void ValuesChangedCommand::removeSharedMemorys(const QVector<qint32> &keyNumberV
void ValuesChangedCommand::sort()
{
qSort(m_valueChangeVector);
std::sort(m_valueChangeVector.begin(), m_valueChangeVector.end());
}
static const QLatin1String valueKeyTemplateString("Values-%1");