Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 583:4c484636d5ec
Record and show any error that occurs during layer processing (e.g. spectrogram layer runs out of disc space for feature files)
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2011 15:21:21 +0100 |
parents | 9fc13f61ae74 |
children | 1fe7951a61e8 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Thu Apr 07 15:20:12 2011 +0100 +++ b/layer/SpectrogramLayer.cpp Thu Apr 14 15:21:21 2011 +0100 @@ -2905,6 +2905,13 @@ return completion; } +QString +SpectrogramLayer::getError(View *v) const +{ + if (m_fftModels.find(v) == m_fftModels.end()) return ""; + return m_fftModels[v].first->getError(); +} + bool SpectrogramLayer::getValueExtents(float &min, float &max, bool &logarithmic, QString &unit) const