diff options
author | yuzubot <yuzu@yuzu-emu.org> | 2022-11-21 13:03:21 +0000 |
---|---|---|
committer | yuzubot <yuzu@yuzu-emu.org> | 2022-11-21 13:03:21 +0000 |
commit | 5ad585b0f8a89d9689aedb2bf0dd1aa2e31eb9d0 (patch) | |
tree | 440d637c8bfb6c9141953730e0e5456d9b4cd525 /src/yuzu/configuration/configure_input_advanced.cpp | |
parent | ecb405b389eb922a0aa30a62deb3e422a21e24bf (diff) |
"Merge Tagged PR 8829"mainline-0-1245
Diffstat (limited to 'src/yuzu/configuration/configure_input_advanced.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_input_advanced.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_input_advanced.cpp b/src/yuzu/configuration/configure_input_advanced.cpp index 10f841b98e..235b813d97 100644 --- a/src/yuzu/configuration/configure_input_advanced.cpp +++ b/src/yuzu/configuration/configure_input_advanced.cpp @@ -194,4 +194,8 @@ void ConfigureInputAdvanced::UpdateUIEnabled() { ui->mouse_panning->setEnabled(!ui->mouse_enabled->isChecked()); ui->mouse_panning_sensitivity->setEnabled(!ui->mouse_enabled->isChecked()); ui->ring_controller_configure->setEnabled(ui->enable_ring_controller->isChecked()); +#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0) || !defined(YUZU_USE_QT_MULTIMEDIA) + ui->enable_ir_sensor->setEnabled(false); + ui->camera_configure->setEnabled(false); +#endif } |