summaryrefslogtreecommitdiffstats
path: root/qt-models/completionmodels.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-06 12:47:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-10 02:37:03 +0900
commite9dcac7514e3e61a1259fdd0e011e9a9b8093e54 (patch)
tree5519249fc2aa31c7daa2cd7c008647d45beaf2c9 /qt-models/completionmodels.cpp
parentdaf3821fcceda2407bfff0a11ed2412401d05333 (diff)
downloadsubsurface-e9dcac7514e3e61a1259fdd0e011e9a9b8093e54.tar.gz
code cleanup: replace use of toStdVector()
Frankly, I find the old API easier... Also, replace toList() with values() Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/completionmodels.cpp')
-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); \
}