summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-01-25 14:58:39 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-05 21:01:44 +0000
commit449fd984d216f7181149db2834b7c29edf6cd3aa (patch)
tree7807e34cbda80c3057f697b7cea1fb060f138cd8 /src/plugins
parent14671775ed868630e31104da89b423765092e7f6 (diff)
Don't rely on QRasterWindow::resizeEvent for marking window dirty
The de-virtualization gotcha might result in client code not calling QRasterWindow::resizeEvent, which we use for dirty state management after e0eb2818face4ffb7dafd87464f355d4654b7be0. In practice this wasn't an issue, because QPaintDeviceWindow handles paint events by calling markWindowAsDirty first, but we should not rely on this. Instead plumb the resize event to QPaintDeviceWindowPrivate, which QRasterWindow implements and can override the behavior of. Pick-to: 6.5 Change-Id: I5c0747da10f0275b77f56be32690d796fa48cdb4 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 6cb497c1570ee427460962b2c0abe3b6dd8c4ae6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 527b5f6ff4c72226e961c5183c88aaf6f41c5a6c)
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions