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:
parent
2bceddaa1c
commit
3c0f65c6fa
@ -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 );
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user