Commit cb023cbc authored by Richard Moe Gustavsen's avatar Richard Moe Gustavsen
Browse files

QQuickWindow: let 'clearFocusObject' clear all the way to the root


The previous code was wrong, as it cleared focus from the active
focus item directly. By doing so we would only clear focus inside
the focus scope that surrounded the item, but leave the scope itself
with active focus (which would then be the focus object). The intended
result is rather to end up with the root as focus object.

Change-Id: I455a8939f8bc6c48765119b995aa781aee6d1e70
Reviewed-by: default avatarTor Arne Vestbø <tor.arne.vestbo@digia.com>
parent 82c36e4f
Showing with 4 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment