Commit 3c40e386 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[kstyle] Drop QStyleOptionViewItemV4 in Qt 5 style plugin

Reviewers: #breeze, hpereiradacosta

Reviewed By: hpereiradacosta

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12259
parent aa4d7d62
......@@ -3714,7 +3714,11 @@ namespace Breeze
{
// cast option and check
#if BREEZE_USE_KDE4
const auto viewItemOption = qstyleoption_cast<const QStyleOptionViewItemV4*>( option );
#else
const auto viewItemOption = qstyleoption_cast<const QStyleOptionViewItem*>( option );
#endif
if( !viewItemOption ) return false;
// try cast widget
......
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