[vlc-commits] Qt: addons: fix background paint glitch with new editor

Francois Cartegnie git at videolan.org
Mon Feb 10 17:21:32 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 10 17:10:48 2014 +0100| [c719c840a4a209acfe23bc7c271a6ad6e9cd5ea1] | committer: Francois Cartegnie

Qt: addons: fix background paint glitch with new editor

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c719c840a4a209acfe23bc7c271a6ad6e9cd5ea1
---

 modules/gui/qt4/dialogs/plugins.cpp |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index f588e79..31334a8 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -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 );



More information about the vlc-commits mailing list