From 3c0f65c6fa43f97ded93329c98fc6bd44d2c7223 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 7 Jun 2013 08:57:31 +0200 Subject: [PATCH] * Properly set pen before painting figure ovals. --- src/libtomahawk/widgets/WelcomeWidget.cpp | 2 +- src/tomahawk/sourcetree/SourceDelegate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/widgets/WelcomeWidget.cpp b/src/libtomahawk/widgets/WelcomeWidget.cpp index 708d4ccdc..c94027953 100644 --- a/src/libtomahawk/widgets/WelcomeWidget.cpp +++ b/src/libtomahawk/widgets/WelcomeWidget.cpp @@ -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 ); diff --git a/src/tomahawk/sourcetree/SourceDelegate.cpp b/src/tomahawk/sourcetree/SourceDelegate.cpp index ac2b8bb71..137aab093 100644 --- a/src/tomahawk/sourcetree/SourceDelegate.cpp +++ b/src/tomahawk/sourcetree/SourceDelegate.cpp @@ -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 );