1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Re-use TomahawkStyle::HEADER_LABEL.

This commit is contained in:
Christian Muehlhaeuser
2014-11-29 15:11:48 +01:00
parent 7ae2fe2952
commit ab9423d55b
2 changed files with 2 additions and 2 deletions

View File

@@ -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" );

View File

@@ -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 );