qt6-bb10/tests/auto/widgets
Friedemann Kleint 3690bcfda3 Refactor tst_QGraphicsWidget::setTabOrderAndReparent().
The test produces compiler warnings in release builds:

tst_qgraphicswidget.cpp: In member function 'void tst_QGraphicsWidget::setTabOrderAndReparent()':
tst_qgraphicswidget.cpp:1521:89: warning: 'w2' may be used uninitialized in this function [-Wmaybe-uninitialized]
tst_qgraphicswidget.cpp:1536:88: warning: 'w1' may be used uninitialized in this function [-Wmaybe-uninitialized]

Use arrays instead of the variables w1,2... and rewrite the helper
function compareFocusChain() to work on iterators allowing to
remove some temporary lists. Also return error messages in a
QByteArray ready for the Q[TRY_]VERIFY2 macros.

Change-Id: I43466921af59521d1faf00b75fe943508418abb3
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-12-22 11:45:47 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
effects Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
gestures Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
graphicsview Refactor tst_QGraphicsWidget::setTabOrderAndReparent(). 2015-12-22 11:45:47 +00:00
itemviews Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
kernel Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
styles Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
util tests/auto/widgets: Remove some placeholder formatting. 2015-10-19 12:39:16 +00:00
widgets Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
widgets.pro