summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-03-17 15:26:11 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-03-19 14:26:03 +0100
commit7edf0fbb9e8cca2e2f2695a1b5dc7a0a143bc211 (patch)
treeae43c7203a5c9a5c8e40f0236faf6d222124a7f5 /src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp
parent98e4652a964be954f364abd8a1872ea92b7bd387 (diff)
Consistently check for nullptr in QGraphicsTextItem::inputMethodQuery
If dd->control is nullptr, then it's nullptr all the way, so don't dereference it in the calls to dd->controlOffset. Fixes static analyzer warning 9c33d9bc9b8cf438dccb63aa52afcbe0. Pick-to: 6.1 6.0 5.15 Change-Id: I7a61b6438422373678d4fcb66255b750c550724d Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions