Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 1001:89f44d182d37 tony-2.0-integration
Repaint fix
author | Chris Cannam |
---|---|
date | Tue, 13 Oct 2015 14:24:51 +0100 |
parents | 1a6304c547bf |
children | 7347cf34f538 9c890b7dfa83 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Mon Oct 12 17:09:51 2015 +0100 +++ b/layer/SpectrogramLayer.cpp Tue Oct 13 14:24:51 2015 +0100 @@ -1512,7 +1512,7 @@ } if (m_fftModels[view]->getHeight() != fftSize / 2 + 1) { #ifdef DEBUG_SPECTROGRAM_REPAINT - cerr << "SpectrogramLayer::getFFTModel(" << v << "): Found a model with the wrong height (" << m_fftModels[view].first->getHeight() << ", wanted " << (fftSize / 2 + 1) << ")" << endl; + cerr << "SpectrogramLayer::getFFTModel(" << v << "): Found a model with the wrong height (" << m_fftModels[view]->getHeight() << ", wanted " << (fftSize / 2 + 1) << ")" << endl; #endif delete m_fftModels[view]; m_fftModels.erase(view);