From 4487efcabe0fc13823135e4c9107ef9feb4877ae Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 12 Dec 2014 11:06:55 -0200 Subject: More lists organized alphabetically. I forgot this one, tsc. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/completionmodels.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt-ui/completionmodels.cpp b/qt-ui/completionmodels.cpp index 1ac184681..fd3cc7504 100644 --- a/qt-ui/completionmodels.cpp +++ b/qt-ui/completionmodels.cpp @@ -33,7 +33,9 @@ set.insert(value.trimmed()); \ } \ } \ - setStringList(set.toList()); \ + QStringList setList = set.toList(); \ + std::sort(setList.begin(), setList.end()); \ + setStringList(setList); \ } CREATE_CSV_UPDATE_METHOD(BuddyCompletionModel, buddy); -- cgit v1.2.3-70-g09d2