diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index a77d87e9..219d0044 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -278,7 +278,9 @@ namespace Breeze const QPalette palette( _helper->framePalette( QGuiApplication::palette() ) ); if( qobject_cast( widget ) || qobject_cast( widget ) || - qobject_cast( widget ) ) + qobject_cast( widget ) || + qobject_cast( widget ) || + widget->inherits( "QComboBoxPrivateContainer" ) ) { widget->setPalette( palette ); } // base class polishing @@ -1011,7 +1013,7 @@ namespace Breeze const QRect rect( widget->rect() ); const QPalette& palette( widget->palette() ); - const QColor background( _helper->frameBackgroundColor( palette ) ); + const QColor background( palette.color( QPalette::Window ) ); const QColor outline( _helper->frameOutlineColor( palette ) ); const bool hasAlpha( _helper->hasAlphaChannel( widget ) ); @@ -2338,7 +2340,7 @@ namespace Breeze { const QPalette& palette( option->palette ); - const QColor background( _helper->frameBackgroundColor( palette ) ); + const QColor background( palette.color( QPalette::Window ) ); const QColor outline( _helper->frameOutlineColor( palette ) ); const bool hasAlpha( _helper->hasAlphaChannel( widget ) );