summaryrefslogtreecommitdiff
path: root/src/citron/configuration/configure_system.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-01-27 15:36:29 +1000
committerZephyron <zephyron@citron-emu.org>2025-01-27 15:36:29 +1000
commit2e4db14bc143fdb31db1ceadcf9db0740825e118 (patch)
treecb616d7a6c60e0d50d5c17412364bd7b6bf1ff02 /src/citron/configuration/configure_system.cpp
parentc36151d6e33a3efa36d2c138f14abe4b4c9650ad (diff)
qt: Replace deprecated stateChanged with checkStateChanged
Updates QCheckBox signal connections to use checkStateChanged instead of the deprecated stateChanged signal. This change affects: - qt_controller.cpp - configure_filesystem.cpp - configure_input.cpp - configure_input_advanced.cpp - configure_system.cpp - configure_ui.cpp - shared_widget.cpp Also updates lambda signatures to use Qt::CheckState instead of int for the state parameter where needed.
Diffstat (limited to 'src/citron/configuration/configure_system.cpp')
-rw-r--r--src/citron/configuration/configure_system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citron/configuration/configure_system.cpp b/src/citron/configuration/configure_system.cpp
index 685772858..10a972acc 100644
--- a/src/citron/configuration/configure_system.cpp
+++ b/src/citron/configuration/configure_system.cpp
@@ -83,7 +83,7 @@ ConfigureSystem::ConfigureSystem(Core::System& system_,
connect(combo_language, qOverload<int>(&QComboBox::currentIndexChanged), this, locale_check);
connect(combo_region, qOverload<int>(&QComboBox::currentIndexChanged), this, locale_check);
- connect(checkbox_rtc, qOverload<int>(&QCheckBox::stateChanged), this, update_rtc_date);
+ connect(checkbox_rtc, &QCheckBox::checkStateChanged, this, update_rtc_date);
connect(date_rtc_offset, qOverload<int>(&QSpinBox::valueChanged), this, update_rtc_date);
connect(date_rtc, &QDateTimeEdit::dateTimeChanged, this, update_date_offset);