Commit abc4464f authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[kstyle] Drop QStyleOptionFrameV3 in Qt 5 style plugin

Reviewers: #breeze, hpereiradacosta

Reviewed By: hpereiradacosta

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12261
parent 6c79210f
......@@ -5236,7 +5236,11 @@ namespace Breeze
{
// cast option and check
#if BREEZE_USE_KDE4
const auto frameOpt = qstyleoption_cast<const QStyleOptionFrameV3*>( option );
#else
const auto frameOpt = qstyleoption_cast<const QStyleOptionFrame*>( option );
#endif
if( !frameOpt ) return false;
switch( frameOpt->frameShape )
......
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