qt5base-lts/tests/auto/widgets
Andreas Aardal Hanssen 6476d6728e Make sure QGraphicsItem notifies changes to focusScopeItem.
A glitch in QGraphicsItem's logic made it update the focusScopeItem
pointer, but fail to notify the change to QDeclarativeItem through the
d_ptr->focusScopeItemChange() virtual function, hindering
QDeclarativeItem from emitting focusChanged() correctly for focus
scopes that do not have focus.

Two lines were moved, and a comment updated to reflect the reason
why the "return" is needed at this point. It's clear that the
calls to focusScopeItemChange() are unrelated to the return.

Task-number: QTBUG-29260
Change-Id: I12ba9161b16d34c3689401a92c86d2047989f7bd
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Reviewed-by: Alan Alpert <aalpert@rim.com>
2013-01-24 02:20:34 +01:00
..
dialogs Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
effects Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
graphicsview Make sure QGraphicsItem notifies changes to focusScopeItem. 2013-01-24 02:20:34 +01:00
itemviews Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel Fix a crash when minimizing a QQuickWindow. 2013-01-18 15:42:59 +01:00
styles Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
util Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
widgets Fix a crash when minimizing a QQuickWindow. 2013-01-18 15:42:59 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00