diff base/ProgressPrinter.cpp @ 515:1aefb666ecfc

* writer flush
author Chris Cannam
date Wed, 10 Dec 2008 16:24:31 +0000
parents beb2948baa77
children 77b4ce536d8f
line wrap: on
line diff
--- a/base/ProgressPrinter.cpp	Wed Dec 10 13:21:10 2008 +0000
+++ b/base/ProgressPrinter.cpp	Wed Dec 10 16:24:31 2008 +0000
@@ -52,6 +52,12 @@
 }
 
 void
+ProgressPrinter::done()
+{
+    setProgress(100);
+}
+
+void
 ProgressPrinter::setProgress(int progress)
 {
     if (progress == m_lastProgress) return;