1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-24 09:49:42 +01:00

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

This commit is contained in:
Christian Muehlhaeuser 2013-01-20 06:24:58 +01:00
parent da0664dfcb
commit 994f59440d

View File

@ -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 );