diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-06 17:48:15 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-07 13:45:34 +0200 |
commit | fccb519809d8e64db0e9cc54852c8612fe59b6c7 (patch) | |
tree | 26d5abac594695232e750301890a6219e3878221 /src/widgets/styles/images/filelink-32.png | |
parent | 787e498487831c55be89979824709622ba29f17c (diff) |
Don't rely on QWidget::internalWinId in QWidgetBackingStore
QWidget does not handle QWindow and QPlatformWindow being destroyed
behind its back, and the QWidget state for internalWinId and the
Qt::WA_WState_Created attribute can easily get out of sync with
reality.
To avoid QWidgetBackingStore mistakenly thinking that a widget does
not have a platform window it can operate on we use the QWindow and
QPlatformWindow handles directly, instead of relying on the winId.
This is a stop gap until we can teach QWidget to deal with dynamic
changes to its underlying window handles.
Change-Id: Ib09bea2ad62c42e9667a20ca6b5faf0f957288da
Fixes: QTBUG-74559
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/widgets/styles/images/filelink-32.png')
0 files changed, 0 insertions, 0 deletions