Current items can be deleted by passing the UUID to the deleteItemFromServer signal.

This commit is contained in:
2026-02-02 16:15:20 +01:00
parent 63fe96fb2e
commit db1ecbece0
5 changed files with 39 additions and 2 deletions

View File

@ -202,7 +202,6 @@ QString TableModel::updateItemsFromJson(const QByteArray& jsonData) {
QMap<int, QVariant> roles = valueList.first();
setItemData(foundIndex, roles);
/// return status what happened in this function (i. e. "Created x items, updated y items.")
// return data(foundIndex, ToStringRole).toString();
return QString("Item found at row %1.").arg(foundIndex.row());
}
}