diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-02-25 17:07:49 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-03-03 10:00:30 +0100 |
commit | d984fd13adf1592646eafa9912bce44ee2158d92 (patch) | |
tree | ce899fce0aff1b2dc889bb5236bdb9d38b9aa84a /src/corelib/json | |
parent | 95e34f7fbc0f2e9ca582278f9a772b27ebf93d5f (diff) |
QGraphicsWidget: don't dereference nullptr
Unlikely that one item is nullptr and the other item doesn't have a
scene, but we do already test for the scene pointer, so don't continue
if it's nullptr.
Fixes static analyzer warning f59576ecf6618447c4f9c7be93fc737f
Pick-to: 6.1
Change-Id: I6d436bb1211ddd412821d6978bab25192033f5e5
Reviewed-by: David Skoland <david.skoland@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/json')
0 files changed, 0 insertions, 0 deletions