Commit 42a885a9 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix drawing of styled frames for QQuickItems

There is a special case for comboboxes when drawing a styled frame, but for
some reason it didn't actually check whether the QQuickItem is a combobox,
there was only a comment...

This adds the check, which means that QQuickItems get a proper frame now
instead of a combobox popup.
parent ac671256
......@@ -5424,7 +5424,8 @@ namespace Breeze
case QFrame::StyledPanel:
if( isQtQuickControl( option, widget ) )
if( isQtQuickControl( option, widget )
&& option->styleObject->property( "elementType" ).toString() == QLatin1String( "combobox" ) )
// ComboBox popup frame
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment