aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickitem2/tst_qquickitem.cpp
diff options
context:
space:
mode:
authorBerthold Krevert <berthold.krevert@basyskom.com>2014-04-30 20:33:07 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-06 10:31:34 +0200
commite8275c319fe9433682bc95716168c330a3ebdc88 (patch)
tree4a1f831f9b2788b416c8e1995564bad4a164d989 /tests/auto/quick/qquickitem2/tst_qquickitem.cpp
parent2e6a3a83a82597598165167451018b9a3969965d (diff)
Store information about focus reason in QQuickWindowPrivate
QtQuickControl's Desktop style needs to know whether the last focus change was requested by keyboard or not. With this information the Desktop style is able to set the QStyleOption accordingly. Without the flag, some of the QStyles (QFusionStyle, QGtkStyle) don't render a focus rectangle. This patch is needed by #change,84389 in QtQuickControls Change-Id: Ia06f56b018cd35eea933892a4c50e0aa7328042d Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickitem2/tst_qquickitem.cpp')
0 files changed, 0 insertions, 0 deletions