1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-15 21:43:00 +02:00

* Use TomahawkStyle::HEADER_TEXT for captions.

This commit is contained in:
Christian Muehlhaeuser 2013-06-13 16:29:56 +02:00
parent 3417a0d5e7
commit e441577776
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ BasicHeader::BasicHeader( QWidget* parent )
m_mainLayout->setStretchFactor( m_verticalLayout, 2 );
QPalette pal = palette();
pal.setColor( QPalette::Foreground, Qt::white );
pal.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT );
pal.setBrush( backgroundRole(), TomahawkStyle::HEADER_LOWER );
m_captionLabel->setPalette( pal );

View File

@ -130,7 +130,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
TomahawkStyle::styleScrollBar( ui->biography->verticalScrollBar() );
QPalette p = ui->biography->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::PAGE_FOREGROUND );
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT );
p.setColor( QPalette::Text, TomahawkStyle::PAGE_TEXT );
ui->biography->setPalette( p );