diff layer/SpectrogramLayer.cpp @ 663:1a0fdad4af4d tonioni

Merge from the default branch
author Chris Cannam
date Fri, 12 Jul 2013 13:25:22 +0100
parents d632a1e87018
children 1a0dfcbffaf1
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Thu Jun 20 13:47:36 2013 +0100
+++ b/layer/SpectrogramLayer.cpp	Fri Jul 12 13:25:22 2013 +0100
@@ -2293,7 +2293,7 @@
         if (m_colourScale == PhaseColourScale) usePeaksCache = false;
     }
 
-    m_drawBuffer.setNumColors(256);
+// No longer exists in Qt5:    m_drawBuffer.setNumColors(256);
     for (int pixel = 0; pixel < 256; ++pixel) {
         m_drawBuffer.setColor(pixel, m_palette.getColour(pixel).rgb());
     }