Skip to content

Commit

Permalink
* Always set a black foreground color for QueryLabels in AudioControls.
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Jan 20, 2013
1 parent da0664d commit 994f594
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AudioControls.cpp
Expand Up @@ -70,6 +70,11 @@ AudioControls::AudioControls( QWidget* parent )
ui->albumLabel->setFont( font ); ui->albumLabel->setFont( font );
ui->albumLabel->setType( QueryLabel::ArtistAndAlbum ); ui->albumLabel->setType( QueryLabel::ArtistAndAlbum );


QPalette queryLabelsPalette = ui->artistTrackLabel->palette();
queryLabelsPalette.setColor( QPalette::Foreground, Qt::black );
ui->artistTrackLabel->setPalette( queryLabelsPalette );
ui->albumLabel->setPalette( queryLabelsPalette );

font.setWeight( QFont::Normal ); font.setWeight( QFont::Normal );
ui->timeLabel->setFont( font ); ui->timeLabel->setFont( font );
ui->timeLeftLabel->setFont( font ); ui->timeLeftLabel->setFont( font );
Expand Down

0 comments on commit 994f594

Please sign in to comment.