src/ui/canvas.cpp

changeset 112
5760cbb32bc0
parent 111
1f42c03fafca
child 113
c0d064521ee0
--- a/src/ui/canvas.cpp	Sun Jul 25 20:29:14 2021 +0300
+++ b/src/ui/canvas.cpp	Sun Jul 25 20:39:21 2021 +0300
@@ -292,7 +292,7 @@
 {
 	this->selection.clear();
 	this->compiler->setSelectedObjects(this->selection);
-	emit selectionChanged(this->selection);
+	Q_EMIT selectionChanged(this->selection);
 	this->update();
 }
 
@@ -300,7 +300,7 @@
 {
 	this->selection.insert(id);
 	this->compiler->setSelectedObjects(this->selection);
-	emit selectionChanged(this->selection);
+	Q_EMIT selectionChanged(this->selection);
 	this->update();
 }
 

mercurial