src/widgets/matrixeditor.cpp

changeset 112
5760cbb32bc0
parent 85
40e2940605a3
child 206
654661eab7f3
--- a/src/widgets/matrixeditor.cpp	Sun Jul 25 20:29:14 2021 +0300
+++ b/src/widgets/matrixeditor.cpp	Sun Jul 25 20:39:21 2021 +0300
@@ -19,7 +19,7 @@
 			*spinbox = this->findChild<QDoubleSpinBox*>(name);
 			connect(*spinbox, qOverload<double>(&QDoubleSpinBox::valueChanged), [&]()
 			{
-				emit this->valueChanged(this->value());
+				Q_EMIT this->valueChanged(this->value());
 			});
 			Q_ASSERT(*spinbox != nullptr);
 		}
@@ -82,7 +82,7 @@
 			{
 				newValue[column] = glm::vec4{dialog.value(), (column == 3) ? 1 : 0};
 				this->setValue(newValue);
-				emit valueChanged(newValue);
+				Q_EMIT valueChanged(newValue);
 			}
 		}
 	}

mercurial