actually use isAncestor
Change-Id: I12180137a256c33d3e603238537c81a7059ba65f
This commit is contained in:
parent
36cd79b590
commit
e6a0d09607
@ -201,6 +201,7 @@ void AppletInterface::destroyedChanged(bool destroyed)
|
||||
candidate = candidate->parentItem();
|
||||
}
|
||||
|
||||
if (isAncestor) {
|
||||
//Found? remove focus for the whole hyerarchy
|
||||
candidate = focus;
|
||||
|
||||
@ -209,6 +210,7 @@ void AppletInterface::destroyedChanged(bool destroyed)
|
||||
candidate = candidate->parentItem();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
setVisible(!destroyed);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user