diff --git a/src/libtomahawk/utils/TomahawkStyle.h b/src/libtomahawk/utils/TomahawkStyle.h index 154a3d50d..aa9988d87 100644 --- a/src/libtomahawk/utils/TomahawkStyle.h +++ b/src/libtomahawk/utils/TomahawkStyle.h @@ -51,6 +51,7 @@ namespace TomahawkStyle DLLEXPORT void styleScrollBar( QScrollBar* scrollBar ); static const QColor PAGE_BACKGROUND = QColor( "#F9F9F9" ); + static const QColor HEADER_LABEL = QColor( 255, 255, 255, 240 ); // Potentially obsolete definitions static const QColor BORDER_LINE = QColor( "#8c8c8c" ); @@ -71,7 +72,6 @@ namespace TomahawkStyle static const QColor HEADER_GAUGE_LABEL_BACKGROUND = QColor( "#0B0A0A" ); static const QColor HEADER_BACKGROUND = QColor( "#292f34" ); - static const QColor HEADER_LABEL = QColor( "#FFFFFF" ); static const QColor HEADER_TEXT = QColor( "#DBDBDB" ); static const QColor HEADER_LINK = QColor( "#7DC4FF" ); static const QColor HEADER_HIGHLIGHT = QColor( "#333" ); diff --git a/src/libtomahawk/widgets/BasicHeader.cpp b/src/libtomahawk/widgets/BasicHeader.cpp index 9d7c54c55..eb6effad3 100644 --- a/src/libtomahawk/widgets/BasicHeader.cpp +++ b/src/libtomahawk/widgets/BasicHeader.cpp @@ -47,7 +47,7 @@ BasicHeader::BasicHeader( QWidget* parent ) f.setLetterSpacing( QFont::PercentageSpacing, 110 ); QPalette p = ui->captionLabel->palette(); - p.setColor( QPalette::Foreground, QColor( 255, 255, 255, 240 ) ); + p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_LABEL ); ui->captionLabel->setFont( f ); ui->captionLabel->setPalette( p );