summaryrefslogtreecommitdiffstats
path: root/examples/qtmail
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.vuorela@jolla.com>2018-08-15 11:59:21 +0300
committerPekka Vuorela <pvuorela@iki.fi>2018-08-16 07:48:29 +0000
commit26594420e157878e4bb187e3441dc7df6877652b (patch)
tree4bdaa769b6794b6dc8bd5e4927a7a5309835c1b1 /examples/qtmail
parent4d66cabe407abedae21a635fcc055119ec6f664d (diff)
Replace deprecated qSort/qLowerBound/qGreater with std methods
Change-Id: Ia3913b998f3686d6f047d02d8781a7297b018bbd Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Diffstat (limited to 'examples/qtmail')
-rw-r--r--examples/qtmail/selectcomposerwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtmail/selectcomposerwidget.cpp b/examples/qtmail/selectcomposerwidget.cpp
index 0ac3b3f1..62b2c292 100644
--- a/examples/qtmail/selectcomposerwidget.cpp
+++ b/examples/qtmail/selectcomposerwidget.cpp
@@ -244,7 +244,7 @@ void SelectComposerWidget::refresh()
if (_sendTypes.contains(type))
options.append(qMakePair(key, type));
- qSort(options.begin(), options.end(), compareOptionsByType);
+ std::sort(options.begin(), options.end(), compareOptionsByType);
foreach (const OptionType &option, options)
(void)new SelectListWidgetItem(option.first, option.second, m_listWidget);