Set style object on QStyleOptionFrames in QQuickStyleItem
authorMartin Gräßlin <mgraesslin@kde.org>
Fri, 13 Dec 2013 11:07:48 +0000 (12:07 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 13 Dec 2013 14:01:06 +0000 (15:01 +0100)
commit67b523661037cf807974f256f1146d441d8e7d40
tree77eb67719ec2710b9173afa76a298852be622bb3
parent49a7f0b8e544fed6bf7811198d7696af8d7baba9
Set style object on QStyleOptionFrames in QQuickStyleItem

For some controls an explicit QStyleOptionFrame is created. By setting
the styleObject the QStyle can recognize that it's a QQuickItem and
adjust the rendering. This is for example needed in the oxygen style to
get the frame around a menu.

Change-Id: I52d2a8b259477b2ff668827334d5073c6934f23c
Reviewed-by: Martin Klapetek <mklapetek@kde.org>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/controls/Private/qquickstyleitem.cpp