]> git.sesse.net Git - vlc/commitdiff
Qt: don't use 2 drawPixmap
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Jan 2010 15:28:56 +0000 (16:28 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Jan 2010 15:28:56 +0000 (16:28 +0100)
modules/gui/qt4/components/playlist/icon_view.cpp

index 2169749031d66c39aa9eb2b917d7d642143719e3..e7eb2b274505d890d6ecb11d3694e4b4c3572aa2 100644 (file)
@@ -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 );