summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-11-25 13:29:20 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-11-25 15:26:15 +0100
commit30ac6d749fa3894b5c3f37f7a23f6c74f7e81edf (patch)
tree605fe94d55ca0f49278a054e739a49833d4c626e /tests/auto
parent65c9fe1cb69dc65ddd413700ab8494409c63c3dc (diff)
spectrum example: Fix warnings about deprecated QList<T>::toSet()
Use std::unique() to obtain a sorted, unique list, fixing: engine.cpp:572:49: warning: 'QSet<T> QList<T>::toSet() const [with T = int]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] engine.cpp:579:43: warning: 'QSet<T> QList<T>::toSet() const [with T = int]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] Change-Id: I7bc1b5ed4f3bf56897cc1e187833c11cb8560500 Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions