summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/completionmodels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/completionmodels.cpp b/qt-models/completionmodels.cpp
index 957b8c7fd..0ffc8075e 100644
--- a/qt-models/completionmodels.cpp
+++ b/qt-models/completionmodels.cpp
@@ -36,7 +36,7 @@
set.insert(value.trimmed()); \
} \
} \
- QStringList setList = set.toList(); \
+ QStringList setList = set.values(); \
std::sort(setList.begin(), setList.end()); \
setStringList(setList); \
}