Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 994f59440d3bd92ac9153d4fe2316308da8e6e2c 1 parent da0664d
Christian Muehlhaeuser authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  src/AudioControls.cpp
5  src/AudioControls.cpp
@@ -70,6 +70,11 @@ AudioControls::AudioControls( QWidget* parent )
70 70
     ui->albumLabel->setFont( font );
71 71
     ui->albumLabel->setType( QueryLabel::ArtistAndAlbum );
72 72
 
  73
+    QPalette queryLabelsPalette = ui->artistTrackLabel->palette();
  74
+    queryLabelsPalette.setColor( QPalette::Foreground, Qt::black );
  75
+    ui->artistTrackLabel->setPalette( queryLabelsPalette );
  76
+    ui->albumLabel->setPalette( queryLabelsPalette );
  77
+    
73 78
     font.setWeight( QFont::Normal );
74 79
     ui->timeLabel->setFont( font );
75 80
     ui->timeLeftLabel->setFont( font );

0 notes on commit 994f594

Please sign in to comment.
Something went wrong with that request. Please try again.