diff options
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2022-09-01 09:08:09 +0200 |
|---|---|---|
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2022-09-05 18:29:11 +0200 |
| commit | 9b6e79abbe66cc098ff8587c2f494716d920c4ea (patch) | |
| tree | 81d0638e1b522617b8bbffa6a39efee54d89232c /src/plugins/platforms/wasm/qwasmfontdatabase.cpp | |
| parent | 20d23f70036b7653f2eadcdd6dd45addd300cea4 (diff) | |
Fix crash when setting override cursor on multiple clients
When a client disconnects, we need to disable its client cursor,
otherwise there will be a dangling pointer stored in the
pointer.
In addition, we should reinstate the default cursor only when
all clients have disconnected.
Note: Patch provided in bug report.
[ChangeLog][vnc] Fixed a crash when setting an override
cursor on multiple clients.
Pick-to: 5.15 6.2 6.4
Fixes: QTBUG-105057
Change-Id: I0399087a924c05c8d0811b0ec0305b7857da5d3c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions
