Current items can be deleted by passing the UUID to the deleteItemFromServer signal.
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user