diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-08 16:03:40 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:07 +0200 |
commit | 3a7a5edceaec30b0c34c492724068a8dc20eb181 (patch) | |
tree | 687d172633b46427e8051cced7d468e4f5ed44bb /src/yuzu/configuration/configuration_shared.h | |
parent | configuration_shared: Fix blank state hiding check box (diff) | |
download | yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.tar yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.tar.gz yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.tar.bz2 yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.tar.lz yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.tar.xz yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.tar.zst yuzu-3a7a5edceaec30b0c34c492724068a8dc20eb181.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/configuration/configuration_shared.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h index d0fe6ea38..d70828935 100644 --- a/src/yuzu/configuration/configuration_shared.h +++ b/src/yuzu/configuration/configuration_shared.h @@ -92,10 +92,11 @@ void SetPerGameSetting(QComboBox* combobox, void SetHighlight(QWidget* widget, bool highlighted); // Sets up a QCheckBox like a tristate one, given a Setting -template <bool ranged, bool save> -void SetColoredTristate(QCheckBox* checkbox, - const Settings::SwitchableSetting<bool, ranged, save>& setting, - CheckState& tracker) { +template <bool ranged, bool save, bool runtime_modifiable> +void SetColoredTristate( + QCheckBox* checkbox, + const Settings::SwitchableSetting<bool, ranged, save, runtime_modifiable>& setting, + CheckState& tracker) { if (setting.UsingGlobal()) { tracker = CheckState::Global; } else { |