src/polygoncache.cpp

changeset 152
03f8e6d42e13
parent 150
b6cbba6e29a1
child 183
97b591813c8b
--- a/src/polygoncache.cpp	Thu Mar 03 21:13:16 2022 +0200
+++ b/src/polygoncache.cpp	Fri Mar 04 11:37:50 2022 +0200
@@ -6,8 +6,8 @@
 {
 	const auto mark = [this](){ this->needRecache = true; };
 	connect(model, &Model::dataChanged, mark);
-	connect(model, &Model::objectAdded, mark);
-	connect(model, &Model::objectRemoved, mark);
+	connect(model, &Model::rowsInserted, mark);
+	connect(model, &Model::rowsRemoved, mark);
 }
 
 /**

mercurial