Don't assert if focus is already clear.
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 12 Mar 2012 08:48:05 +0000 (18:48 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Mar 2012 09:14:37 +0000 (10:14 +0100)
commit67f589209dc856be3ac6261f51023125343812ce
tree2bff3a1e9510ff2a9ea707f0dfe93ceee77f5c74
parent1c7b0362b8a1d230e52b7ee5df2aa36a3217b79b
Don't assert if focus is already clear.

Already cleared focus should exit the function without terminating the
runtime.

Task-number: QTBUG-24714
Change-Id: Ia8c6be0d88e43d1f71112acc7bac3eb674f22de8
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickcanvas.cpp
tests/auto/quick/qquickitem/data/multipleFocusClears.qml [new file with mode: 0644]
tests/auto/quick/qquickitem/tst_qquickitem.cpp