src/settingseditor/settingseditor.cpp

changeset 347
5c655cc006de
parent 341
71c8cea3c205
child 356
65b4741b302d
--- a/src/settingseditor/settingseditor.cpp	Sat Apr 08 15:08:19 2023 +0300
+++ b/src/settingseditor/settingseditor.cpp	Sat Apr 08 15:11:39 2023 +0300
@@ -84,8 +84,8 @@
 	for (auto* widget : this->findChildren<QSpinBox*>()) {
 		connect(widget, qOverload<int>(&QSpinBox::valueChanged), this, &SettingsEditor::saveSettings);
 	}
-	for (auto* widget : this->findChildren<ColorButton*>()) {
-		connect(widget, &ColorButton::colorChanged, this, &SettingsEditor::saveSettings);
+	for (auto* widget : this->findChildren<ColorEdit*>()) {
+		connect(widget, &ColorEdit::colorChanged, this, &SettingsEditor::saveSettings);
 	}
 	for (auto* widget : this->findChildren<QComboBox*>()) {
 		connect(widget, qOverload<int>(&QComboBox::currentIndexChanged), this, &SettingsEditor::saveSettings);

mercurial