Fixes: NB#260245 - MObjectMenu and MDialog does not grab the focus from MTextEdit in some particular cases
Fixes: NB#260245 - MObjectMenu and MDialog does not grab the focus from MTextEdit in some particular cases

RevBy: Michał Palczewski
Details:
There is a specific situation where QGraphicsItem::focusItem() returns null
even though there's a child item of it who indeed has focus. To work around that
Qt bug, whenever focusItem() returns null we cross-check it by using other methods
to find the same info.

https://meego.gitorious.org/meegotouch/libmeegotouch/merge_requests/1993

nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch