src/model.cpp

changeset 1249
6a8f76f0f4d1
parent 1247
7e1ce2fc066b
child 1258
f5921a474d57
--- 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.
  */

mercurial