Port deprecated qSort

wilder
Laurent Montel 7 years ago
parent c5c80c32d3
commit 3c869d240e
  1. 2
      autotests/proxymodeltestsuite/dynamictreemodel.cpp

@ -237,7 +237,7 @@ bool DynamicTreeModel::dropMimeData(const QMimeData *data, Qt::DropAction action
srcPath = indexToPath(srcParent); srcPath = indexToPath(srcParent);
rowsMoved = src_parent_it.value(); rowsMoved = src_parent_it.value();
qSort(rowsMoved); std::sort(rowsMoved.begin(), rowsMoved.end());
src_row_it = rowsMoved.begin(); src_row_it = rowsMoved.begin();
rows_moved_end = rowsMoved.end(); rows_moved_end = rowsMoved.end();
startRow = *src_row_it; startRow = *src_row_it;

Loading…
Cancel
Save