path: root/src/concurrent/qtconcurrentthreadengine.h
diff options
authorTor Arne Vestbø <>2019-08-06 17:48:15 +0200
committerTor Arne Vestbø <>2019-08-07 13:45:34 +0200
commitfccb519809d8e64db0e9cc54852c8612fe59b6c7 (patch)
tree26d5abac594695232e750301890a6219e3878221 /src/concurrent/qtconcurrentthreadengine.h
parent787e498487831c55be89979824709622ba29f17c (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 <>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.h')
0 files changed, 0 insertions, 0 deletions