Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 761:6429a164b7e1 pitch-align
Schedule alignments with a small delay to avoid too much UI unresponsiveness. Also overhaul error reporting to use signals throughout.
author | Chris Cannam |
---|---|
date | Wed, 06 May 2020 11:45:27 +0100 |
parents | baa7d3a85317 |
children | da57ab54f0e8 |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Mon Apr 27 14:59:56 2020 +0100 +++ b/framework/MainWindowBase.cpp Wed May 06 11:45:27 2020 +0100 @@ -2714,8 +2714,8 @@ this, SLOT(modelRegenerationWarning(QString, QString, QString))); connect(m_document, SIGNAL(alignmentComplete(ModelId)), this, SLOT(alignmentComplete(ModelId))); - connect(m_document, SIGNAL(alignmentFailed(QString)), - this, SLOT(alignmentFailed(QString))); + connect(m_document, SIGNAL(alignmentFailed(ModelId, QString)), + this, SLOT(alignmentFailed(ModelId, QString))); m_document->setAutoAlignment(m_viewManager->getAlignMode());