Mercurial > hg > svcore
comparison data/model/AlignmentModel.cpp @ 333:1afaf98dbf11
* Factor out uses of "Sonic Visualiser" in "common" code to applicationName()
* Add ability to show work title + artist in top-left of pane (thinking of Vect
  but may be useful in SV in future)
* A few other generalisations useful for Vect
| author | Chris Cannam | 
|---|---|
| date | Fri, 09 Nov 2007 17:46:58 +0000 | 
| parents | a71dec01c4d3 | 
| children | f14e2f7b24f7 6f6ab834449d | 
   comparison
  equal
  deleted
  inserted
  replaced
| 332:13e5870040e6 | 333:1afaf98dbf11 | 
|---|---|
| 148 m_pathBegun = true; | 148 m_pathBegun = true; | 
| 149 | 149 | 
| 150 if (!m_pathComplete) { | 150 if (!m_pathComplete) { | 
| 151 int completion = 0; | 151 int completion = 0; | 
| 152 m_path->isReady(&completion); | 152 m_path->isReady(&completion); | 
| 153 std::cerr << "AlignmentModel::pathCompletionChanged: completion = " | 153 // std::cerr << "AlignmentModel::pathCompletionChanged: completion = " | 
| 154 << completion << std::endl; | 154 // << completion << std::endl; | 
| 155 m_pathComplete = (completion == 100); | 155 m_pathComplete = (completion == 100); | 
| 156 if (m_pathComplete) { | 156 if (m_pathComplete) { | 
| 157 constructReversePath(); | 157 constructReversePath(); | 
| 158 delete m_inputModel; | 158 delete m_inputModel; | 
| 159 m_inputModel = 0; | 159 m_inputModel = 0; | 
