summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-03-16 10:04:01 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2017-03-16 18:03:24 +0000
commit5cda0172e0eb912ef4814f3c5618686cbb1a5da1 (patch)
tree0e99fdef59ff6b1e107e9973561c8bcde2fb4bc4 /src/plugins/platforms
parente364384d9f91e57ad6116d549f3748d165b77ea2 (diff)
Fix crash in QWindowPrivate::applyCursor when screen is null
QWindow::setVisible calls QWindowPrivate::applyCursor without checking if screen() returns null. This patch adds a check in QWindowPrivate::applyCursor that the screen is not null. Now that it is tested there, no need to test it from the other caller (setCursor) This patch should not change behavior of setCursor at all, it should only fix the crash when coming from setVisible Task-number: QTBUG-59528 Change-Id: I06bbdb4e04c02ac840ba637242d1f2cfde5bdd62 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions