qt5base-lts/tests/auto/widgets
David Faure a6e5ccbe22 QMdi: Don't emit subWindowActivated during StyleChange handling.
The handling of StyleChange de-maximizes the child window temporarily,
which was emitting subWindowActivated.
This would crash lokalize, because deactivating a window means deleting
the widgets associated with it, and style-change handling is done in
QApplication by looping over QApplication::allWidgets, which would then
contain dangling pointers.

Full valgrind log at https://bugs.kde.org/show_bug.cgi?id=271494#c7

Change-Id: Ifb24032cde2cd470dcae7cd553ec5ab45a919dd6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-03-25 10:37:37 +01:00
..
dialogs Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
effects Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
graphicsview Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
itemviews Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
kernel Merge remote-tracking branch 'gerrit/release' into stable 2013-03-21 08:49:01 +01:00
styles Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
util Merge branch 'dev' into stable 2013-03-20 13:49:28 +01:00
widgets QMdi: Don't emit subWindowActivated during StyleChange handling. 2013-03-25 10:37:37 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00