summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qabstractitemview_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-08-17 20:44:39 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-07-13 10:37:24 +0000
commit827d1ed633b13719964d82e06195d9df4bd34419 (patch)
tree7a5fcf43ec11a468b04f4c87a5154e7f3a9da393 /src/widgets/itemviews/qabstractitemview_p.h
parent53ec85637ca55d63a765b10f2714eada57dc1ded (diff)
QMenu: don't hold QPointers in QList
QPointer is larger than a void*, so holding them in a QList is needlessly inefficient. Worse, the code could come to depend on the fragile property of (inefficient) QLists that references to elements therein never are invalidated. Change-Id: Ia224a4fe01acc1d4ca9b57c62941dd0f37780c67 Reviewed-by: Sérgio Martins <sergio.martins@kdab.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/itemviews/qabstractitemview_p.h')
0 files changed, 0 insertions, 0 deletions