From 55fd82bfd471a711c5b3a60bc175367f07540cfa Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 29 Apr 2013 18:14:16 +0200 Subject: [PATCH] * Added FIXMEs. --- src/libtomahawk/accounts/AccountDelegate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/accounts/AccountDelegate.cpp b/src/libtomahawk/accounts/AccountDelegate.cpp index 3781a5a30..f5c5a52bf 100644 --- a/src/libtomahawk/accounts/AccountDelegate.cpp +++ b/src/libtomahawk/accounts/AccountDelegate.cpp @@ -305,6 +305,7 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option, { painter->save(); painter->setFont( authorFont ); + //FIXME const color painter->setPen( QColor( Qt::gray ).darker( 150 ) ); const int authorWidth = authorMetrics.width( author ); const QRect authorRect( textRect.left(), textRect.bottom() + PADDING/2, authorWidth + 6, authorMetrics.height() ); @@ -549,6 +550,7 @@ AccountDelegate::editorEvent( QEvent* event, QAbstractItemModel* model, const QS void AccountDelegate::drawRoundedButton( QPainter* painter, const QRect& btnRect, bool red ) const { + //FIXME const colors if ( !red ) TomahawkUtils::drawRoundedButton( painter, btnRect, QColor(54, 127, 211), QColor(43, 104, 182), QColor(34, 85, 159), QColor(35, 79, 147) ); else