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

[kstyle] Drop QStyleOptionFrameV2 in Qt 5 style plugin

Reviewers: #breeze, hpereiradacosta

Reviewed By: hpereiradacosta

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12260
parent 34011b10
......@@ -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 );
......
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