summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/GroupModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/tree/GroupModel.cpp')
-rw-r--r--sigmodr/tree/GroupModel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/tree/GroupModel.cpp b/sigmodr/tree/GroupModel.cpp
index c339f9c7..9d14aaef 100644
--- a/sigmodr/tree/GroupModel.cpp
+++ b/sigmodr/tree/GroupModel.cpp
@@ -71,10 +71,10 @@ Qt::DropActions GroupModel::supportedDropActions() const
void GroupModel::addChild(BaseModel* model)
{
- connect(model, SIGNAL(rowChanged(int)), this, SLOT(childRowChanged(int)));
- connect(model, SIGNAL(rowsChanged(QList<int>)), this, SLOT(childRowsChanged(QList<int>)));
+ connect(model, SIGNAL(rowChanged(int, Sigmodr::Tree::BaseModel::Change)), this, SLOT(childRowChanged(int, Sigmodr::Tree::BaseModel::Change)));
+ connect(model, SIGNAL(rowsChanged(QList<int>, Sigmodr::Tree::BaseModel::Change)), this, SLOT(childRowsChanged(QList<int>, Sigmodr::Tree::BaseModel::Change)));
m_objects.append(model);
- emit(rowChanged(m_objects.size() - 1));
+ emit(rowChanged(m_objects.size() - 1, Addition));
}
int GroupModel::findChild(BaseModel* model) const