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:
@@ -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" );
|
||||
|
@@ -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 );
|
||||
|
Reference in New Issue
Block a user