HomeAleph Objects Inc

Revert "Reset QWidget's winId when backing window surface is destroyed"

Authored by Tor Arne Vestbø <tor.arne.vestbo@qt.io> on Jul 12 2019, 4:28 AM.

Description

Revert "Reset QWidget's winId when backing window surface is destroyed"

This reverts commit a9246c7132a2c8864d3ae6cebd260bb9ee711fcb.

The QWidget machinery is way to fragile to reset the winId under the
feet of QWidget like that. We would potentially need to include all
the logic in QWidget::destroy. This also ties into the flow between
QtGui and QtWidgets during window closing, which is still unresolved.

Change-Id: I168048a63c89796398eb5331a80ce3e5c8d9a208
Fixes: QTBUG-76588
Task-number: QTBUG-69289
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>

Event Timeline

Tor Arne Vestbø <tor.arne.vestbo@qt.io> committed rQTBdeac052a40c9: Revert "Reset QWidget's winId when backing window surface is destroyed" (authored by Tor Arne Vestbø <tor.arne.vestbo@qt.io>).Jul 12 2019, 6:17 AM