From 994f59440d3bd92ac9153d4fe2316308da8e6e2c Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 20 Jan 2013 06:24:58 +0100 Subject: [PATCH] * Always set a black foreground color for QueryLabels in AudioControls. --- src/AudioControls.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AudioControls.cpp b/src/AudioControls.cpp index 9b744ee8c..3f936616b 100644 --- a/src/AudioControls.cpp +++ b/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 );