Permalink
Browse files

* Always set a black foreground color for QueryLabels in AudioControls.

  • Loading branch information...
1 parent da0664d commit 994f59440d3bd92ac9153d4fe2316308da8e6e2c @muesli muesli committed Jan 20, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/AudioControls.cpp
View
5 src/AudioControls.cpp
@@ -70,6 +70,11 @@ AudioControls::AudioControls( QWidget* parent )
ui->albumLabel->setFont( font );
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 );
ui->timeLabel->setFont( font );
ui->timeLeftLabel->setFont( font );

0 comments on commit 994f594

Please sign in to comment.