Fix - QGraphicsTextItem in a tab of QTabWidget cannot get focus 2676
authorKalle Viironen <kalle.viironen@digia.com>
Fri, 9 Sep 2011 04:24:54 +0000 (07:24 +0300)
committerKalle Viironen <kalle.viironen@digia.com>
Thu, 15 Sep 2011 07:51:48 +0000 (10:51 +0300)
commitbeef7df0ef968a884c8988802a3a02db74109433
tree67641b6f36ce24bd4ba98cda95b0fbfb90a38435
parent704dd92581783d91ccd234d58896d7078eed14a5
Fix - QGraphicsTextItem in a tab of QTabWidget cannot get focus

Any QGraphicsTextItems in those tabs which are not the first tab of
QTabWidget, cannot get focus although the tab is current tab of
QTabWidget.But the QGraphicsTextItem in the first tab of QTabWidget can
get focus. i.e. a focus frame (dotted box) appears around the
QGraphicsTextItem. Those QGraphicsTextItems which cannot get focus can
get focus only after the main window is minimized and then maximized.
i.e. After that, a focus frame appears around it.

Task-number: QTBUG-19680
Reviewed-by: pending
src/gui/graphicsview/qgraphicsscene.cpp
tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp