diff framework/MainWindowBase.cpp @ 429:a9141963b580 alignment_view

Connect up alignmentComplete signal
author Chris Cannam
date Fri, 21 Nov 2014 13:31:15 +0000
parents a67245dce0d4
children d9d132c0e240
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Fri Nov 21 13:15:57 2014 +0000
+++ b/framework/MainWindowBase.cpp	Fri Nov 21 13:31:15 2014 +0000
@@ -2256,6 +2256,8 @@
             this, SLOT(modelGenerationFailed(QString, QString)));
     connect(m_document, SIGNAL(modelRegenerationWarning(QString, QString, QString)),
             this, SLOT(modelRegenerationWarning(QString, QString, QString)));
+    connect(m_document, SIGNAL(alignmentComplete(AlignmentModel *)),
+            this, SLOT(alignmentComplete(AlignmentModel *)));
     connect(m_document, SIGNAL(alignmentFailed(QString)),
             this, SLOT(alignmentFailed(QString)));
 
@@ -3398,6 +3400,12 @@
 }
 
 void
+MainWindowBase::alignmentComplete(AlignmentModel *model)
+{
+    cerr << "MainWindowBase::alignmentComplete(" << model << ")" << endl;
+}
+
+void
 MainWindowBase::pollOSC()
 {
     if (!m_oscQueue || m_oscQueue->isEmpty()) return;