changeset 1001:89f44d182d37 tony-2.0-integration

Repaint fix
author Chris Cannam
date Tue, 13 Oct 2015 14:24:51 +0100
parents 4c8e7014abab
children dc8092488005 2e3d388489e5
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);