diff options
author | Andreas Aardal Hanssen <andreas@hanssen.name> | 2013-01-28 19:31:59 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-29 21:37:10 (GMT) |
commit | a1bc10b76fd4496cf148375eb7a1ca5145e06971 (patch) | |
tree | 4fb9bdd4bb9bfb565948ed9739ec28e88f21bd6e /.commit-template | |
parent | edd8be883f538ab2ca3bb768bd677e4581e364bf (diff) | |
download | Qt-a1bc10b76fd4496cf148375eb7a1ca5145e06971.zip Qt-a1bc10b76fd4496cf148375eb7a1ca5145e06971.tar.gz Qt-a1bc10b76fd4496cf148375eb7a1ca5145e06971.tar.bz2 |
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
(cherry picked from qtbase/6476d6728eb3cde8e4a5fd0eb607b92977932296)
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>
Diffstat (limited to '.commit-template')
0 files changed, 0 insertions, 0 deletions