diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-01-02 09:39:07 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-01-02 11:21:28 +0100 |
commit | a315402ab232e3e4398f0b1c1d6910bdcefaec4f (patch) | |
tree | 467e95b17a7ac7228cf35560dde3255d93855f0b /.gitattributes | |
parent | 620eeaaa5bf3af1b5c1760042d1c369d21ad2a8f (diff) |
abstractdeclarative.cpp: Fix deprecation warnings
Use QHash::contains() instead of checking for presence via value(),
fixing:
abstractdeclarative.cpp:681:48: warning: 'QList<ValueType> QHash<K, V>::values(const Key&) const [with Key = QQuickWindow*; T = bool]' is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations]
abstractdeclarative.cpp:694:45: warning: 'QList<ValueType> QHash<K, V>::values(const Key&) const [with Key = QQuickWindow*; T = bool]' is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations]
Change-Id: Ic858949514a647f62e74bff6ece346851dce413b
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions