summaryrefslogtreecommitdiff
path: root/src/webenginequick/api/qtwebenginequickglobal.cpp
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-04-12 18:32:35 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-21 15:41:06 +0000
commited34a0b838ec8808ddc9e8593beb8aac133b6cda (patch)
tree1a0abebfad00f5c87d65fc317ba5fe2493b22dd2 /src/webenginequick/api/qtwebenginequickglobal.cpp
parentf42a049fd8480f354b6dfb8e1773bfb598dbd49f (diff)
downloadqtwebengine-ed34a0b838ec8808ddc9e8593beb8aac133b6cda.tar.gz
Clear PDF search results on document page model change
Not clearing the search results leads to crashes when the incoming page model is larger than the outgoing model, due to internal state being still in sync with the old document, but the page count of the new document being used. Fixes: QTBUG-111067 Change-Id: Ic81744ebe0cb7d1a152453721abd7d1b5c5fa2b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit d1347ebbe99b467799680bb6e3cee81932751df5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/webenginequick/api/qtwebenginequickglobal.cpp')
0 files changed, 0 insertions, 0 deletions