Fix setWindowFlags() for QMdiSubWindow.
authorBastiaan Veelo <Bastiaan@SARC.nl>
Sat, 16 Nov 2013 00:02:22 +0000 (01:02 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 1 Feb 2014 14:50:26 +0000 (15:50 +0100)
commit5e99b07a072bedee239ed6980a44719da9ffa7c9
treebb429bcaf50aaa5dc6e41c5c23e8a8ccfb8962d5
parentdd987a9ef08933b970387dac1f9bdd930ca9656c
Fix setWindowFlags() for QMdiSubWindow.

It was impossible to hide/show the close button after a QMdiSubWindow
was created.

Task-number: QTBUG-9933
Task-number: QTBUG-27274

[ChangeLog][QtWidgets][QMdiSubWindow] Fixed setWindowFlags() for QMdiSubWindow.

Change-Id: I7db9a1bef5ba8a8ace729acb85682c8b3de9c33c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/widgets/kernel/qwidget.cpp
src/widgets/kernel/qwidget_p.h
src/widgets/widgets/qmdisubwindow.cpp
tests/auto/widgets/widgets/qmdisubwindow/tst_qmdisubwindow.cpp