1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Properly set pen before painting figure ovals.

This commit is contained in:
Christian Muehlhaeuser 2013-06-07 08:57:31 +02:00
parent 2bceddaa1c
commit 3c0f65c6fa
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
rect.setBottom( pixmapRect.bottom() + 1 );
QColor figColor( TomahawkStyle::DASHBOARD_ROUNDFIGURE_BACKGROUND );
painter->setPen( figColor );
painter->setPen( Qt::white );
painter->setBrush( figColor );
TomahawkUtils::drawBackgroundAndNumbers( painter, tracks, rect );

View File

@ -436,7 +436,7 @@ SourceDelegate::paintCollection( QPainter* painter, const QStyleOptionViewItem&
painter->setFont( figFont );
QColor figColor( TomahawkStyle::SIDEBAR_ROUNDFIGURE_BACKGROUND );
painter->setPen( figColor );
painter->setPen( Qt::white );
painter->setBrush( figColor );
TomahawkUtils::drawBackgroundAndNumbers( painter, tracks, figRect );