summaryrefslogtreecommitdiffstats
path: root/src/macdeployqt/shared
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/macdeployqt/shared
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/macdeployqt/shared')
-rw-r--r--src/macdeployqt/shared/shared.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macdeployqt/shared/shared.cpp b/src/macdeployqt/shared/shared.cpp
index 3abc31c72..a248d8ccd 100644
--- a/src/macdeployqt/shared/shared.cpp
+++ b/src/macdeployqt/shared/shared.cpp
@@ -1294,7 +1294,7 @@ bool deployQmlImports(const QString &appBundlePath, DeploymentInfo deploymentInf
// deployQmlImports can consider the module deployed if it has already
// deployed one of its sub-module)
QVariantList array = doc.array().toVariantList();
- qSort(array.begin(), array.end(), importLessThan);
+ std::sort(array.begin(), array.end(), importLessThan);
// deploy each import
foreach (const QVariant &importValue, array) {