--- 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); } } }