mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Use TomahawkStyle::HEADER_TEXT for captions.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user