changeset 497:c337e3f74838 2.0-integration

Adjust model update during recording or writing a new wave file. Formerly we were using the model's completion percentage to indicate write proportion and completion -- that's not a good idea because some layers will reasonably avoid rendering at all until a model reaches 100% completion (it's supposed to report only progress on the initial model generation, and the model shouldn't change during completion updates).
author Chris Cannam
date Tue, 13 Oct 2015 14:26:40 +0100
parents 109016400b9c
children f7b029f0dd75
files .hgsubstate src/MainWindow.cpp
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Mon Oct 12 17:10:43 2015 +0100
+++ b/.hgsubstate	Tue Oct 13 14:26:40 2015 +0100
@@ -6,6 +6,6 @@
 c6ca18292bfe9ba9bd67b0aa59320893f2954333 icons/scalable
 5c1572dd225a7fa23b520219ce4515961aafa7a5 pyin
 55ece8862b6d3a54aad271a53f9c1615e5d3bcf8 sv-dependency-builds
-4f1d280903ad2ef71ff9592bb32b6c25ca24d654 svapp
-db946591a39117218320a9fe2201647c61c5fa5f svcore
-4c8e7014abab28880cfbd0bbc87b5c147f53437d svgui
+d1c70c680fa920fe200304add821442a553683de svapp
+e994747fb9dd1c253c6b80cedabedadb4e54be35 svcore
+89f44d182d379d5555954093016d32948db16b53 svgui
--- a/src/MainWindow.cpp	Mon Oct 12 17:10:43 2015 +0100
+++ b/src/MainWindow.cpp	Tue Oct 13 14:26:40 2015 +0100
@@ -1039,6 +1039,8 @@
     connect(recordAction, SIGNAL(triggered()), this, SLOT(record()));
     connect(m_recordTarget, SIGNAL(recordStatusChanged(bool)),
 	    recordAction, SLOT(setChecked(bool)));
+    connect(m_recordTarget, SIGNAL(recordCompleted()),
+	    this, SLOT(analyseNow()));
     connect(this, SIGNAL(canRecord(bool)),
             recordAction, SLOT(setEnabled(bool)));