From e9dcac7514e3e61a1259fdd0e011e9a9b8093e54 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 6 Jan 2020 12:47:53 -0800 Subject: code cleanup: replace use of toStdVector() Frankly, I find the old API easier... Also, replace toList() with values() Signed-off-by: Dirk Hohndel --- qt-models/completionmodels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-models') 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); \ } -- cgit v1.2.3-70-g09d2