comparison layer/WaveformLayer.cpp @ 115:47cb32bb35ab

* Restore progress updates to spectrogram
author Chris Cannam
date Wed, 05 Jul 2006 16:15:22 +0000
parents 0f36cdf407a6
children 33929e0c3c6b
comparison
equal deleted inserted replaced
114:991de8783cf5 115:47cb32bb35ab
337 m_cacheValid = false; 337 m_cacheValid = false;
338 emit layerParametersChanged(); 338 emit layerParametersChanged();
339 } 339 }
340 340
341 int 341 int
342 WaveformLayer::getCompletion() const 342 WaveformLayer::getCompletion(View *) const
343 { 343 {
344 int completion = 100; 344 int completion = 100;
345 if (!m_model || !m_model->isOK()) return completion; 345 if (!m_model || !m_model->isOK()) return completion;
346 if (m_model->isReady(&completion)) return 100; 346 if (m_model->isReady(&completion)) return 100;
347 return completion; 347 return completion;