1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00

Set default background for AudioControls.

This commit is contained in:
Christian Muehlhaeuser
2014-12-01 15:32:53 +01:00
parent 0d2fc7a96d
commit 0312ef7dab
2 changed files with 2 additions and 1 deletions

View File

@@ -38,8 +38,8 @@ BasicHeader::BasicHeader( QWidget* parent )
, DpiScaler( this ) , DpiScaler( this )
, ui( new Ui::HeaderWidget ) , ui( new Ui::HeaderWidget )
{ {
setAutoFillBackground( false );
ui->setupUi( this ); ui->setupUi( this );
setAutoFillBackground( false );
BackgroundWidget::setBackgroundColor( TomahawkStyle::HEADER_BACKGROUND ); BackgroundWidget::setBackgroundColor( TomahawkStyle::HEADER_BACKGROUND );
{ {

View File

@@ -60,6 +60,7 @@ AudioControls::AudioControls( QWidget* parent )
{ {
ui->setupUi( this ); ui->setupUi( this );
setAutoFillBackground( false ); setAutoFillBackground( false );
BackgroundWidget::setBackgroundColor( TomahawkStyle::HEADER_BACKGROUND );
setAcceptDrops( true ); setAcceptDrops( true );
setFixedHeight( scaledY( 85 ) ); setFixedHeight( scaledY( 85 ) );