Mercurial > hg > svcore
comparison data/model/Model.cpp @ 1561:d3814e07b8aa
Debug bits
author | Chris Cannam |
---|---|
date | Thu, 01 Nov 2018 15:01:41 +0000 |
parents | 9d37c8cf9686 |
children | 70e172e6cc59 |
comparison
equal
deleted
inserted
replaced
1560:21f21354c834 | 1561:d3814e07b8aa |
---|---|
159 } | 159 } |
160 | 160 |
161 int | 161 int |
162 Model::getAlignmentCompletion() const | 162 Model::getAlignmentCompletion() const |
163 { | 163 { |
164 // SVDEBUG << "Model::getAlignmentCompletion" << endl; | 164 // SVDEBUG << "Model::getAlignmentCompletion: m_alignment = " |
165 // << m_alignment << endl; | |
165 if (!m_alignment) { | 166 if (!m_alignment) { |
166 if (m_sourceModel) return m_sourceModel->getAlignmentCompletion(); | 167 if (m_sourceModel) return m_sourceModel->getAlignmentCompletion(); |
167 else return 100; | 168 else return 100; |
168 } | 169 } |
169 int completion = 0; | 170 int completion = 0; |
170 (void)m_alignment->isReady(&completion); | 171 (void)m_alignment->isReady(&completion); |
171 // cerr << " -> " << completion << endl; | 172 // SVDEBUG << " -> " << completion << endl; |
172 return completion; | 173 return completion; |
173 } | 174 } |
174 | 175 |
175 QString | 176 QString |
176 Model::getTitle() const | 177 Model::getTitle() const |