changeset 655:8ad6327b01cc osc-script

Debug output
author Chris Cannam
date Tue, 26 Mar 2019 14:34:35 +0000
parents 4f53620962d9
children d8beda8a2126
files framework/Align.cpp framework/Document.cpp
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/framework/Align.cpp	Mon Mar 25 15:49:23 2019 +0000
+++ b/framework/Align.cpp	Tue Mar 26 14:34:35 2019 +0000
@@ -203,7 +203,8 @@
 
     m_error = "";
     
-    AlignmentModel *alignmentModel = new AlignmentModel(reference, other, nullptr, nullptr);
+    AlignmentModel *alignmentModel =
+        new AlignmentModel(reference, other, nullptr, nullptr);
     rm->setAlignment(alignmentModel);
 
     QProcess *process = new QProcess;
--- a/framework/Document.cpp	Mon Mar 25 15:49:23 2019 +0000
+++ b/framework/Document.cpp	Tue Mar 26 14:34:35 2019 +0000
@@ -705,6 +705,7 @@
     connect(model, SIGNAL(modelInvalidated()),
             this, SLOT(aggregateModelInvalidated()));
     m_aggregateModels.insert(model);
+    SVDEBUG << "Document::addAggregateModel(" << model << ")" << endl;
 }
 
 void
@@ -712,6 +713,7 @@
 {
     QObject *s = sender();
     AggregateWaveModel *aggregate = qobject_cast<AggregateWaveModel *>(s);
+    SVDEBUG << "Document::aggregateModelInvalidated(" << aggregate << ")" << endl;
     if (aggregate) releaseModel(aggregate);
 }