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

[kstyle] Drop QStyleOptionViewItemV4 in Qt 5 style plugin

Reviewers: #breeze, hpereiradacosta

Reviewed By: hpereiradacosta

Subscribers: plasma-devel

Tags: #plasma

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