summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-12-06 10:20:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-12-12 20:20:13 +0000
commit141bca90e16073086124e542cdb0b91556fe06c5 (patch)
tree1e15cbf1aac79515c21c0dd0508e6475f0749514 /src/gui
parente55c7974db42a2c5bc5e6a8a1ef88ea5602ae266 (diff)
Windows QPA: Fix handling of override cursors
Override cursors were not restored when nested or in a dual monitor setups. The default cursor stored in QWindowsCursor::m_overriddenCursor was clobbered by subsequent calls to QWindowsCursor::setOverrideCursor(). This caused for example the wait cursor to remain active when switching to Help Mode in Qt Creator. Add a check preventing that. Make the variable static so that it is shared between the cursors of multiple screens. Amends b05d1c2ebfebf0f427a92668c0a7b177d0952012. Task-number: QTBUG-65001 Change-Id: Iead5804d317f73dedd78d22c1c85c62b5349ab83 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions