Commit c719c840 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: addons: fix background paint glitch with new editor

parent 55678c1c
......@@ -993,9 +993,6 @@ void AddonItemDelegate::paint( QPainter *painter,
QStyleOptionViewItemV4 newopt = option;
int i_state = index.data( AddonsListModel::StateRole ).toInt();
if ( option.state.testFlag( QStyle::State_Editing ) )
newopt.rect.setRight( option.rect.right() - 100 );
ExtensionItemDelegate::paint( painter, newopt, index );
initStyleOption( &newopt, index );
......
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