diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-27 15:36:29 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-27 15:36:29 +1000 |
commit | 2e4db14bc143fdb31db1ceadcf9db0740825e118 (patch) | |
tree | cb616d7a6c60e0d50d5c17412364bd7b6bf1ff02 /src/citron/configuration/configure_filesystem.cpp | |
parent | c36151d6e33a3efa36d2c138f14abe4b4c9650ad (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_filesystem.cpp')
-rw-r--r-- | src/citron/configuration/configure_filesystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citron/configuration/configure_filesystem.cpp b/src/citron/configuration/configure_filesystem.cpp index 4b05562c7..f44f3416e 100644 --- a/src/citron/configuration/configure_filesystem.cpp +++ b/src/citron/configuration/configure_filesystem.cpp @@ -29,9 +29,9 @@ ConfigureFilesystem::ConfigureFilesystem(QWidget* parent) connect(ui->reset_game_list_cache, &QPushButton::pressed, this, &ConfigureFilesystem::ResetMetadata); - connect(ui->gamecard_inserted, &QCheckBox::stateChanged, this, + connect(ui->gamecard_inserted, &QCheckBox::checkStateChanged, this, &ConfigureFilesystem::UpdateEnabledControls); - connect(ui->gamecard_current_game, &QCheckBox::stateChanged, this, + connect(ui->gamecard_current_game, &QCheckBox::checkStateChanged, this, &ConfigureFilesystem::UpdateEnabledControls); } |