mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 11:50:37 +02:00
* Made sure we always restore the painter after using it.
This commit is contained in:
@@ -169,15 +169,14 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt
|
||||
}
|
||||
|
||||
// Paint Now Playing Frame
|
||||
return; //FIXME
|
||||
{
|
||||
/* {
|
||||
QRect r = QRect( 3, opt.rect.y() + 1, m_view->viewport()->width() - 6, opt.rect.height() - 2 );
|
||||
painter->setPen( opt.palette.highlight().color() );
|
||||
QPen pen = painter->pen();
|
||||
pen.setWidth( 1.0 );
|
||||
painter->setPen( pen );
|
||||
painter->drawRoundedRect( r, 3.0, 3.0 );
|
||||
}
|
||||
}*/
|
||||
}
|
||||
painter->restore();
|
||||
}
|
||||
|
Reference in New Issue
Block a user