Skip to content
Snippets Groups Projects
Commit d8f3a807 authored by Alexandre Lision's avatar Alexandre Lision
Browse files

smartlist: add missing signal

When adding the first call below a Person or CM, we didn't emitted dataChanged
This was preventing the UI to know that this row needed to be redraw.

Issue: #75334
Change-Id: I3c59203260055ef3b578d6f8a4f95383a3006a4f
parent f84753aa
No related branches found
No related tags found
No related merge requests found
......@@ -574,8 +574,10 @@ void RecentModelPrivate::slotCallAdded(Call* call, Call* parent)
q_ptr->beginInsertRows(q_ptr->index(n->m_Index,0), 0, n->m_lChildren.size());
n->m_lChildren.append(callNode);
q_ptr->endInsertRows();
} else // size == 0, only add the child no signal emitted
} else { // size == 0, only add the child, emit dataChanged for the top node
n->m_lChildren.append(callNode);
emit q_ptr->dataChanged(q_ptr->index(n->m_Index,0),q_ptr->index(n->m_Index,0));
}
}
void RecentModelPrivate::slotUpdate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment