Commit 0f98d36f authored by Tor Arne Vestbø's avatar Tor Arne Vestbø
Browse files

Clear specific QWindow::focusObject() on QWindowPrivate::clearFocusObject()


The focusObject of a QWidgetWindow is the focusWidget() of the top level
widget, so when clearing the focus object of the window we should clear
focus of the same focusWidget, not the application-wide focus widget,
which may live in another window.

Change-Id: Ib9162418865c225e23aac7987e119b3b651983eb
Reviewed-by: default avatarTor Arne Vestbø <tor.arne.vestbo@digia.com>
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