]> git.sesse.net Git - vlc/commitdiff
Qt: addons: fix background paint glitch with new editor
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 10 Feb 2014 16:10:48 +0000 (17:10 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 10 Feb 2014 16:21:13 +0000 (17:21 +0100)
modules/gui/qt4/dialogs/plugins.cpp

index f588e79d40af9ece109040816394ddb015656b3d..31334a85f2443429ae7979db994f5b22bab76023 100644 (file)
@@ -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 );