Mercurial > hg > svcore
diff data/model/ModelDataTableModel.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 | cc27f35aa75c |
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp Fri Jul 04 11:08:05 2014 +0100 +++ b/data/model/ModelDataTableModel.cpp Thu Jul 17 14:50:31 2014 +0100 @@ -31,8 +31,8 @@ Model *baseModel = dynamic_cast<Model *>(m); connect(baseModel, SIGNAL(modelChanged()), this, SLOT(modelChanged())); - connect(baseModel, SIGNAL(modelChanged(int, int)), - this, SLOT(modelChanged(int, int))); + connect(baseModel, SIGNAL(modelChangedWithin(int, int)), + this, SLOT(modelChangedWithin(int, int))); connect(baseModel, SIGNAL(aboutToBeDeleted()), this, SLOT(modelAboutToBeDeleted())); } @@ -219,7 +219,7 @@ } void -ModelDataTableModel::modelChanged(int, int) +ModelDataTableModel::modelChangedWithin(int, int) { //!!! inefficient clearSort();