qt5base-lts/tests/auto/widgets/kernel/qwindowcontainer
Gunnar Sletta 54b8c27e03 Fix crash when windowcontainer is used in a dockwidget
The dockwidget's toplevel window would be a parent of the container's
window when floating. When plugged back into the mainwindow the
dockwidget's window is destroyed and the container's window along
with it. Added a function toplevelAboutToBeDestroyed to unparent
the containers window before this happens so parentWasChanged will
work correctly.

Change-Id: I06679cfb3a8fa3834c0db0be5973c012b8277275
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
2013-11-20 14:10:37 +01:00
..
.gitignore Introducing QWidget::createWindowContainer() 2013-01-25 14:11:07 +01:00
qwindowcontainer.pro Introducing QWidget::createWindowContainer() 2013-01-25 14:11:07 +01:00
tst_qwindowcontainer.cpp Fix crash when windowcontainer is used in a dockwidget 2013-11-20 14:10:37 +01:00