1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

Re-use TomahawkStyle::HEADER_BACKGROUND.

This commit is contained in:
Christian Muehlhaeuser 2014-12-01 14:48:51 +01:00
parent ab9423d55b
commit 7eaaa66fbf
3 changed files with 3 additions and 2 deletions

View File

@ -52,6 +52,7 @@ namespace TomahawkStyle
static const QColor PAGE_BACKGROUND = QColor( "#F9F9F9" );
static const QColor HEADER_LABEL = QColor( 255, 255, 255, 240 );
static const QColor HEADER_BACKGROUND = QColor( "#333333" );
// Potentially obsolete definitions
static const QColor BORDER_LINE = QColor( "#8c8c8c" );
@ -71,7 +72,6 @@ namespace TomahawkStyle
static const QColor HEADER_GAUGE_TEXT = QColor( "#FFFFFF" );
static const QColor HEADER_GAUGE_LABEL_BACKGROUND = QColor( "#0B0A0A" );
static const QColor HEADER_BACKGROUND = QColor( "#292f34" );
static const QColor HEADER_TEXT = QColor( "#DBDBDB" );
static const QColor HEADER_LINK = QColor( "#7DC4FF" );
static const QColor HEADER_HIGHLIGHT = QColor( "#333" );

View File

@ -34,7 +34,7 @@ BackgroundWidget::BackgroundWidget( QWidget* parent )
, m_blurred( false )
{
setAutoFillBackground( false );
BackgroundWidget::setBackgroundColor( QColor( "#333333" ) );
setBackgroundColor( Qt::transparent );
}

View File

@ -40,6 +40,7 @@ BasicHeader::BasicHeader( QWidget* parent )
{
setAutoFillBackground( false );
ui->setupUi( this );
BackgroundWidget::setBackgroundColor( TomahawkStyle::HEADER_BACKGROUND );
{
QFont f = ui->captionLabel->font();