From 6a68a1aa1dcb5f2d9993ee9cacd6e7a6b3d9bdb0 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Wed, 16 Nov 2011 17:44:42 -0500 Subject: [PATCH] Make source visible in audiocontrols on os x --- src/audiocontrols.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/audiocontrols.cpp b/src/audiocontrols.cpp index 42f8d7ab0..880385ff9 100644 --- a/src/audiocontrols.cpp +++ b/src/audiocontrols.cpp @@ -86,7 +86,11 @@ AudioControls::AudioControls( QWidget* parent ) ui->loveButton->setPixmap( RESPATH "images/not-loved.png" ); ui->loveButton->setCheckable( true ); +#ifdef Q_WS_MAC + ui->ownerLabel->setForegroundRole( QPalette::Text ); +#else ui->ownerLabel->setForegroundRole( QPalette::Dark ); +#endif ui->metaDataArea->setStyleSheet( "QWidget#metaDataArea {\nborder-width: 4px;\nborder-image: url(" RESPATH "images/now-playing-panel.png) 4 4 4 4 stretch stretch; }" ); ui->seekSlider->setEnabled( true );