diff data/model/ReadOnlyWaveFileModel.h @ 1557:d93e34684da7

Cautiously ensure we don't report readiness when the model is still updating; + some debug
author Chris Cannam
date Thu, 18 Oct 2018 13:12:58 +0100
parents b7042aaecebe
children c01cbe41aeb5
line wrap: on
line diff
--- a/data/model/ReadOnlyWaveFileModel.h	Thu Oct 18 13:09:09 2018 +0100
+++ b/data/model/ReadOnlyWaveFileModel.h	Thu Oct 18 13:12:58 2018 +0100
@@ -131,6 +131,7 @@
     RangeCacheFillThread *m_fillThread;
     QTimer *m_updateTimer;
     sv_frame_t m_lastFillExtent;
+    mutable int m_prevCompletion;
     bool m_exiting;
     static PowerOfSqrtTwoZoomConstraint m_zoomConstraint;