[vlc-devel] commit: Qt: don't use 2 drawPixmap (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Jan 25 16:29:30 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 25 16:28:56 2010 +0100| [5f1d26906bf3b63dfb4ee1a85a4dfc1be61639ad] | committer: Jean-Baptiste Kempf 

Qt: don't use 2 drawPixmap

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

 modules/gui/qt4/components/playlist/icon_view.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/icon_view.cpp b/modules/gui/qt4/components/playlist/icon_view.cpp
index 2169749..e7eb2b2 100644
--- a/modules/gui/qt4/components/playlist/icon_view.cpp
+++ b/modules/gui/qt4/components/playlist/icon_view.cpp
@@ -73,7 +73,6 @@ void PlListViewItemDelegate::paint( QPainter * painter, const QStyleOptionViewIt
     painter->restore();
 
     // Draw the art pixmap
-    painter->drawPixmap( artRect, pix );
     painter->setClipPath( artRectPath );
     painter->drawPixmap( artRect, pix );
     painter->setClipping( false );




More information about the vlc-devel mailing list