qt5base-lts/tests/auto/widgets
Miikka Heikkinen 150284198b Fix rendering glitches when using native widgets in MDI subwindows
When mixing native and regular widgets in same QMdiArea, some
subwindows didn't properly get set native. This was because
when a native parentless widget was given a parent, it wouldn't
enforce native window on the new parent and its ancestors.
This happened because window flags were adjusted too late in
relation to createWinId() call in setParent_sys().
Fixed by moving the createWinId() call to its proper place.

Also removed some old Q_WS_* ifdeffing in QWidget::setParent() that
masked some native enforcement code.

Additionally removed few QEXPECT_FAILs from QWidget autotest now
that those cases work correctly.

Task-number: QTBUG-26424
Change-Id: Ib6f9d0531e5c7299e2c307734d49c81f1ffa9713
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-18 15:07:32 +02:00
..
dialogs Replace Q_WS_ in tests by Q_OS_ or check platform names. 2012-07-16 16:30:55 +02:00
effects Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
graphicsview Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
itemviews Replace Q_WS_ in tests by Q_OS_ or check platform names. 2012-07-16 16:30:55 +02:00
kernel Fix rendering glitches when using native widgets in MDI subwindows 2012-07-18 15:07:32 +02:00
styles Replace Q_WS_ in tests by Q_OS_ or check platform names. 2012-07-16 16:30:55 +02:00
util Platform-plugin support for QSystemTrayIcon. 2012-07-03 16:48:33 +02:00
widgets Replace Q_WS_ in tests by Q_OS_ or check platform names. 2012-07-16 16:30:55 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00