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:
parent
3417a0d5e7
commit
e441577776
@ -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 );
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user