Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 616:d632a1e87018 qt5
Build fixes for Qt5
author | Chris Cannam |
---|---|
date | Mon, 11 Mar 2013 14:23:52 +0000 |
parents | 0dba6a391760 |
children | 1a0dfcbffaf1 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Fri Nov 16 17:14:12 2012 +0000 +++ b/layer/SpectrogramLayer.cpp Mon Mar 11 14:23:52 2013 +0000 @@ -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()); }