Commit 5f1d2690 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: don't use 2 drawPixmap

parent 82f5e2af
...@@ -73,7 +73,6 @@ void PlListViewItemDelegate::paint( QPainter * painter, const QStyleOptionViewIt ...@@ -73,7 +73,6 @@ void PlListViewItemDelegate::paint( QPainter * painter, const QStyleOptionViewIt
painter->restore(); painter->restore();
// Draw the art pixmap // Draw the art pixmap
painter->drawPixmap( artRect, pix );
painter->setClipPath( artRectPath ); painter->setClipPath( artRectPath );
painter->drawPixmap( artRect, pix ); painter->drawPixmap( artRect, pix );
painter->setClipping( false ); painter->setClipping( false );
......
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