summaryrefslogtreecommitdiffstats
path: root/src/makeqpf/mainwindow.cpp
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2019-06-20 17:58:21 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2019-06-20 22:10:14 +0200
commitb9b2b6af850a94f2385e137fd4bb54b9b429f8c8 (patch)
treeedcb6479a38d0db684275528727b9d59964980db /src/makeqpf/mainwindow.cpp
parent2750a510d2f8ef34219906939e5ccb804b9a39d3 (diff)
Remove usages of deprecated qSort
Task-number: QTBUG-76491 Change-Id: Ied0ecb369697b3cc01fef7a2d91aa3940cdcd771 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/makeqpf/mainwindow.cpp')
-rw-r--r--src/makeqpf/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makeqpf/mainwindow.cpp b/src/makeqpf/mainwindow.cpp
index 3e74a54c1..215df6d47 100644
--- a/src/makeqpf/mainwindow.cpp
+++ b/src/makeqpf/mainwindow.cpp
@@ -219,7 +219,7 @@ void MainWindow::on_sampleFile_editingFinished()
coverage.insert(text.at(i));
QList<QChar> sortedCoverage = QList<QChar>::fromSet(coverage);
- qSort(sortedCoverage);
+ std::sort(sortedCoverage.begin(), sortedCoverage.end());
// play simple :)
for (QChar ch : qAsConst(sortedCoverage)) {
QPF::CharacterRange r;