adding the removal of items work on the slides

This isn't finished yet, but the core is there. I have yet to fully
remove slides after a service_item is removed.
This commit is contained in:
Chris Cochrun 2023-04-11 06:20:56 -05:00
parent 7a36b70a6d
commit f8ac7feea0
5 changed files with 35 additions and 10 deletions

View file

@ -303,7 +303,9 @@ void ServiceItemModel::removeItems() {
beginRemoveRows(QModelIndex(), i, i);
m_items.removeAt(i);
endRemoveRows();
QVariantMap map = getItem(i);
emit rowRemoved(i, *item);
emit rowRemovedRust(i, map);
qDebug() << "emitted removal of item:" << item->name();
}
}