summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-11-05 14:14:49 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-12-22 11:45:47 +0000
commit3690bcfda3e7c28789e1499996adfffde87ba150 (patch)
treeff693ea45c69d5aabf0a5f3e6ca7c752104e577e /src/plugins/platforms
parentfc8711dece1d9f29afe004ffb57f081e2436fac7 (diff)
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>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions