--- a/src/model.cpp Thu Feb 15 12:19:10 2018 +0200
+++ b/src/model.cpp Thu Feb 15 14:40:59 2018 +0200
@@ -144,6 +144,11 @@
delete object;
}
+void Model::removeAt(const QModelIndex& index)
+{
+ removeAt(index.row());
+}
+
/*
* Replaces the given object with the contents of a model.
*/