diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index c18ca8af..c06c2ce4 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -5236,7 +5236,11 @@ namespace Breeze { // cast option and check + #if BREEZE_USE_KDE4 const auto frameOpt = qstyleoption_cast( option ); + #else + const auto frameOpt = qstyleoption_cast( option ); + #endif if( !frameOpt ) return false; switch( frameOpt->frameShape )