src/ui/multiplyfactordialog.cpp

changeset 115
ed884a2fb009
parent 88
14e51640c189
--- a/src/ui/multiplyfactordialog.cpp	Tue Jul 27 09:56:06 2021 +0300
+++ b/src/ui/multiplyfactordialog.cpp	Tue Jul 27 11:11:32 2021 +0300
@@ -11,8 +11,16 @@
 	this->preview.setEnabled(false);
 	this->ui->previewGroupBox->setLayout(new QVBoxLayout{parent});
 	this->ui->previewGroupBox->layout()->addWidget(&this->preview);
-	connect(this->ui->invert, &QCheckBox::clicked, this, &MultiplyFactorDialog::updatePreview);
-	connect(this->ui->factor, qOverload<double>(&DoubleSpinBox::valueChanged), this, &MultiplyFactorDialog::updatePreview);
+	connect(
+		this->ui->invert,
+		&QCheckBox::clicked,
+		this,
+		&MultiplyFactorDialog::updatePreview);
+	connect(
+		this->ui->factor,
+		qOverload<double>(&DoubleSpinBox::valueChanged),
+		this,
+		&MultiplyFactorDialog::updatePreview);
 }
 
 /**

mercurial