# HG changeset patch # User Chris Cannam # Date 1571239212 -3600 # Node ID bdf284b297229a95a4e69d7a20a513f2bd0fb93b # Parent 2d41072700155d8973bee630354734ff13644f02 Make audio dial more visible in Mac dark mode diff -r 2d4107270015 -r bdf284b29722 widgets/AudioDial.cpp --- a/widgets/AudioDial.cpp Wed Oct 16 13:02:52 2019 +0100 +++ b/widgets/AudioDial.cpp Wed Oct 16 16:20:12 2019 +0100 @@ -142,7 +142,7 @@ meterColor = palette().mid().color(); } else if (m_meterColor == Qt::white) { if (knobIsDark) { - meterColor = palette().light().color(); + meterColor = palette().text().color(); } else { meterColor = palette().highlight().color(); } @@ -150,7 +150,7 @@ QColor notchColor(palette().dark().color()); if (knobIsDark) { - notchColor = palette().light().color(); + notchColor = palette().text().color(); } int m_size = width() < height() ? width() : height(); @@ -200,7 +200,6 @@ // Tick notches... if ( notchesVisible() ) { -// cerr << "Notches visible" << endl; pen.setColor(notchColor); pen.setWidth(scale); paint.setPen(pen);