summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-10-13 13:34:21 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-10-14 18:40:22 +0200
commitc179549a7402d70ed4be5ab3af5939667f4238a1 (patch)
tree322bab81e3370fb459433554a034b628726dccad /src/widgets/kernel/qwidget.cpp
parented9665597d1f8c67012e14877faa78e536449ed4 (diff)
Tidy up in QGraphicsWidget::resize()
Simplify various conditions. Eliminate duplication from an overly-complex if/else cascade. Move the set-up of a QGraphicsSceneResizeEvent to only happen if it's going to be used. Change-Id: Ie51aa5de5f2bd1603478ae0cda0fd4279334f45a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
0 files changed, 0 insertions, 0 deletions