forked from qt-creator/qt-creator
Remove use of deprecated Qt algorithms
Change-Id: Ib35cffa2d5762874feea9b1d4df7f569c0e5f496 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
d4b3789db4
commit
670e54345c
@@ -29,6 +29,8 @@
|
||||
|
||||
#include <QVarLengthArray>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace QmlDesigner {
|
||||
|
||||
PixmapChangedCommand::PixmapChangedCommand()
|
||||
@@ -47,7 +49,7 @@ QVector<ImageContainer> PixmapChangedCommand::images() const
|
||||
|
||||
void PixmapChangedCommand::sort()
|
||||
{
|
||||
qSort(m_imageVector);
|
||||
std::sort(m_imageVector.begin(), m_imageVector.end());
|
||||
}
|
||||
|
||||
QDataStream &operator<<(QDataStream &out, const PixmapChangedCommand &command)
|
||||
|
||||
Reference in New Issue
Block a user