diff framework/MainWindowBase.cpp @ 583:48cfa4e2bfc1

Connect these only once
author Chris Cannam
date Wed, 18 Jan 2017 14:22:25 +0000
parents 1a8a8980f39a
children 0bb2ec333d3b
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Fri Jan 13 10:29:55 2017 +0000
+++ b/framework/MainWindowBase.cpp	Wed Jan 18 14:22:25 2017 +0000
@@ -2490,10 +2490,6 @@
             this, SLOT(modelGenerationFailed(QString, QString)));
     connect(m_document, SIGNAL(modelRegenerationWarning(QString, QString, QString)),
             this, SLOT(modelRegenerationWarning(QString, QString, QString)));
-    connect(m_document, SIGNAL(modelGenerationFailed(QString, QString)),
-            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)),