comparison data/model/AlignmentModel.cpp @ 947:cd42620e3f40

Fix some errant signals (the modelChanged with args are now modelChangedWithin)
author Chris Cannam
date Thu, 17 Jul 2014 14:50:31 +0100
parents 59e7fe1b1003
children 13f53ecc8bb5
comparison
equal deleted inserted replaced
946:2d34148d5d6e 947:cd42620e3f40
35 if (m_rawPath) { 35 if (m_rawPath) {
36 36
37 connect(m_rawPath, SIGNAL(modelChanged()), 37 connect(m_rawPath, SIGNAL(modelChanged()),
38 this, SLOT(pathChanged())); 38 this, SLOT(pathChanged()));
39 39
40 connect(m_rawPath, SIGNAL(modelChanged(int, int)), 40 connect(m_rawPath, SIGNAL(modelChangedWithin(int, int)),
41 this, SLOT(pathChanged(int, int))); 41 this, SLOT(pathChangedWithin(int, int)));
42 42
43 connect(m_rawPath, SIGNAL(completionChanged()), 43 connect(m_rawPath, SIGNAL(completionChanged()),
44 this, SLOT(pathCompletionChanged())); 44 this, SLOT(pathCompletionChanged()));
45 45
46 constructPath(); 46 constructPath();
173 m_rawPath = 0; 173 m_rawPath = 0;
174 } 174 }
175 } 175 }
176 176
177 void 177 void
178 AlignmentModel::pathChanged(int, int) 178 AlignmentModel::pathChangedWithin(int, int)
179 { 179 {
180 if (!m_pathComplete) return; 180 if (!m_pathComplete) return;
181 constructPath(); 181 constructPath();
182 constructReversePath(); 182 constructReversePath();
183 } 183 }