diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 6aabd673..c18ca8af 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -3162,8 +3162,12 @@ namespace Breeze if( !frameOption ) return true; // no frame for flat groupboxes + #if BREEZE_USE_KDE4 QStyleOptionFrameV2 frameOption2( *frameOption ); if( frameOption2.features & QStyleOptionFrameV2::Flat ) return true; + #else + if( frameOption->features & QStyleOptionFrame::Flat ) return true; + #endif // normal frame const auto& palette( option->palette );