diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-09-21 09:12:24 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-09-24 17:16:27 +0000 |
commit | 8e45fe6d6c2084752983d905cf22f777e7062baf (patch) | |
tree | 3d63d035fcd59a6511532e2ff1c280e6ddfbcf0a /src/xml | |
parent | 82eb7d1537d4c1265575c62b4678d668d77a4d96 (diff) |
QGraphicsScene: don't search for nullptr
Following f6cb8b1af8f15a06898c5c71f81c64779d9478f6, take
advantage of the nullptr return case of QGraphicsItem
::toGraphicsObject() by not looking up nullptr in the
QList and the two QHashes. They don't contain nullptrs.
Change-Id: Ic1cfbb4c60061577a09348ef78fdc573f95ad9a8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/xml')
0 files changed, 0 insertions, 0 deletions