Commit 6c79210f authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[kstyle] Drop QStyleOptionFrameV2 in Qt 5 style plugin

Reviewers: #breeze, hpereiradacosta

Reviewed By: hpereiradacosta

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 34011b10
......@@ -3162,8 +3162,12 @@ namespace Breeze
if( !frameOption ) return true;
// no frame for flat groupboxes
QStyleOptionFrameV2 frameOption2( *frameOption );
if( frameOption2.features & QStyleOptionFrameV2::Flat ) return true;
if( frameOption->features & QStyleOptionFrame::Flat ) return true;
// normal frame
const auto& palette( option->palette );
Supports Markdown
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