summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printoptions.cpp
diff options
context:
space:
mode:
authorGravatar Rolf Eike Beer <eike@sf-mail.de>2019-04-03 20:21:53 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 12:59:17 +0300
commite3d43b5696d9aede430594fd4304d54d80bd7fac (patch)
tree48e04f247bb9e148c92075d584b1a86899af2713 /desktop-widgets/printoptions.cpp
parentd19cfec457da8c286a321dd17297237ad8fa8435 (diff)
downloadsubsurface-e3d43b5696d9aede430594fd4304d54d80bd7fac.tar.gz
replace deprecated qSort() with std::sort()
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'desktop-widgets/printoptions.cpp')
-rw-r--r--desktop-widgets/printoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/printoptions.cpp b/desktop-widgets/printoptions.cpp
index 38a670cf8..0d9ae0a40 100644
--- a/desktop-widgets/printoptions.cpp
+++ b/desktop-widgets/printoptions.cpp
@@ -56,7 +56,7 @@ void PrintOptions::setupTemplates()
// temp. store the template from options, as addItem() updates it via:
// on_printTemplate_currentIndexChanged()
QString storedTemplate = printOptions->p_template;
- qSort(currList);
+ currList.sort();
int current_index = 0;
ui.printTemplate->clear();
Q_FOREACH(const QString& theme, currList) {