replace deprecated qSort() with std::sort()

Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
Rolf Eike Beer 2019-04-03 20:21:53 +02:00 committed by Dirk Hohndel
parent d19cfec457
commit e3d43b5696
6 changed files with 10 additions and 8 deletions

View file

@ -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) {