aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
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/preferences
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/preferences')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 59dbdf59b..fbf387cfa 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -97,7 +97,7 @@ bool abstractpreferenceswidget_lessthan(AbstractPreferencesWidget *p1, AbstractP
void PreferencesDialog::addPreferencePage(AbstractPreferencesWidget *page)
{
pages.push_back(page);
- qSort(pages.begin(), pages.end(), abstractpreferenceswidget_lessthan);
+ std::sort(pages.begin(), pages.end(), abstractpreferenceswidget_lessthan);
}
void PreferencesDialog::refreshPages()