summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfilesystemmodel.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-01-16 20:24:03 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-01-17 13:23:10 +0000
commitd569f37dfd4ca9b2b704e13b95fab96abe0b0f97 (patch)
tree777b0c8cf0125d8806d03e1198e59b28a79e508a /src/widgets/dialogs/qfilesystemmodel.cpp
parenta0cee9916a980d6a670c76de0ba818eda54589bb (diff)
QGraphicsView: Graph: don't allocate QHashes on the heap
... just so you can observe their absence with QHash::value() returning nullptr. Instead, use find() + comparison to end() to detect presence or absence. Simplifies quite a bit of code. Change-Id: Ifd7921bfc8102677ea345ae37d38da31b8105426 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/dialogs/qfilesystemmodel.cpp')
0 files changed, 0 insertions, 0 deletions