diff data/model/ModelDataTableModel.cpp @ 1770:dffc70996f54

Correct some erroneous signal signatures
author Chris Cannam
date Fri, 19 Jul 2019 16:10:00 +0100
parents 91a194e2d80b
children
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp	Thu Jul 18 14:42:24 2019 +0100
+++ b/data/model/ModelDataTableModel.cpp	Fri Jul 19 16:10:00 2019 +0100
@@ -30,9 +30,10 @@
 {
     auto model = ModelById::get(m);
     if (model) {
-        connect(model.get(), SIGNAL(modelChanged()), this, SLOT(modelChanged()));
-        connect(model.get(), SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)),
-                this, SLOT(modelChangedWithin(sv_frame_t, sv_frame_t)));
+        connect(model.get(), SIGNAL(modelChanged(ModelId)),
+                this, SLOT(modelChanged(ModelId)));
+        connect(model.get(), SIGNAL(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t)),
+                this, SLOT(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t)));
     }
 }
 
@@ -216,7 +217,7 @@
 }
 
 void
-ModelDataTableModel::modelChanged()
+ModelDataTableModel::modelChanged(ModelId)
 {
     SVDEBUG << "ModelDataTableModel::modelChanged" << endl;
     QModelIndex ix0;
@@ -234,7 +235,7 @@
 }
 
 void 
-ModelDataTableModel::modelChangedWithin(sv_frame_t f0, sv_frame_t f1)
+ModelDataTableModel::modelChangedWithin(ModelId, sv_frame_t f0, sv_frame_t f1)
 {
     SVDEBUG << "ModelDataTableModel::modelChangedWithin(" << f0 << "," << f1 << ")" << endl;
     QModelIndex ix0 = getModelIndexForFrame(f0);