summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-10-28 10:25:31 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-10-28 10:37:17 (GMT)
commitcc34b794439b59e3e226e2a8dc896fec5e27689d (patch)
tree8e23260564836f2913581eba7865bdfc0c072500 /tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp
parent44f8fac4e2fc4a4258b921ac595c2826ca96e99c (diff)
downloadQt-cc34b794439b59e3e226e2a8dc896fec5e27689d.zip
Qt-cc34b794439b59e3e226e2a8dc896fec5e27689d.tar.gz
Qt-cc34b794439b59e3e226e2a8dc896fec5e27689d.tar.bz2
Fix initial focus bug in ItemIsFocusScope.
The task provides an example that doesn't gain input focus when started. The fix contains two parts: one is to allow items with focus scope ancestors to become focus items even if the scope is inactive. The other is to fix up the focusItem pointers on reparent. Before, the focus scopes' focusItem pointers always pointed to itself, or the next scope. Now these items are treated no differently than other items in that respect. The change has a performance impact when reparenting a large subtree that has a sub focus item onto another item (one more dig). Task-number: QT-2331 Reviewed-by: Alexis Menard
Diffstat (limited to 'tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp')
0 files changed, 0 insertions, 0 deletions