diff widgets/AudioDial.cpp @ 287:cd2492c5fe45

* Add SingleColourLayer to manage colours for layers that have a single predominant colour (i.e. most of them).
author Chris Cannam
date Thu, 12 Jul 2007 16:14:59 +0000
parents 8d89f8869cfb
children 832d246b327b
line wrap: on
line diff
--- a/widgets/AudioDial.cpp	Wed Jul 11 20:46:37 2007 +0000
+++ b/widgets/AudioDial.cpp	Thu Jul 12 16:14:59 2007 +0000
@@ -127,7 +127,7 @@
 	
     QColor knobColor(m_knobColor);
     if (knobColor == Qt::black)
-	knobColor = palette().background().color();
+	knobColor = palette().window().color();
 
     QColor meterColor(m_meterColor);
     if (!isEnabled())