mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Always set a black foreground color for QueryLabels in AudioControls.
This commit is contained in:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user