Commit 862ac22e authored by Elvis Angelaccio's avatar Elvis Angelaccio

archivemodel: port away from deprecated qStableSort

std::stable_sort should be used instead, as recommended by the
documentation.
parent 6fca7438
......@@ -391,7 +391,7 @@ void ArchiveModel::sort(int column, Qt::SortOrder order)
sorting[i].second = i;
}
qStableSort(sorting.begin(), sorting.end(), modelSorter);
std::stable_sort(sorting.begin(), sorting.end(), modelSorter);
QModelIndexList fromIndexes;
QModelIndexList toIndexes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment