diff options
| author | Christian Strømme <christian.stromme@qt.io> | 2023-04-03 16:51:16 +0200 |
|---|---|---|
| committer | Christian Strømme <christian.stromme@qt.io> | 2023-04-04 18:14:56 +0200 |
| commit | f1dc42e19e7757fb5d2845fa0cc3f782e7521aa7 (patch) | |
| tree | 8a7618adc77da4e546ffa409674665ad8b0ba080 /src/gui/platform/unix/qgenericunixservices.cpp | |
| parent | 87103e04e9c34630bd51ae5f8e7550033976c6bf (diff) | |
Fix crash in QIOSTextResponder
When a window that has focus is destroyed we can end up calling
into nextResponder where the focus window is in the process of being
destroyed, so make sure we have a window with a valid platform window
before calling winId()
Fixes: QTBUG-110019
Pick-to: 6.5 6.4
Change-Id: I704c3597b46e465ddf2605bdb71a21cb36cb2a26
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
