diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-12-12 11:06:55 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-12 10:40:42 -0800 |
commit | 4487efcabe0fc13823135e4c9107ef9feb4877ae (patch) | |
tree | d2917688f9ee80a0d93f0b3ba1d4d58b7678d914 /qt-ui/completionmodels.cpp | |
parent | f22a708e273cf8dcd16d313fb6ad4833f8863425 (diff) | |
download | subsurface-4487efcabe0fc13823135e4c9107ef9feb4877ae.tar.gz |
More lists organized alphabetically.
I forgot this one, tsc.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/completionmodels.cpp')
-rw-r--r-- | qt-ui/completionmodels.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); |