diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-18 00:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 00:45:02 -0400 |
commit | 00573fb2c9cc698ab53d2ce82978d333a6d50a2b (patch) | |
tree | e2795cfe164aae18b92d0ae98b7c73998abcbb3a /src/yuzu/configuration/configuration_shared.h | |
parent | 56c6a5def85cfd3001c88d69374e3fb164272b9e (diff) | |
parent | fe861098778c325264bf015488fd960d5f33c6d6 (diff) |
Merge pull request #4532 from lioncash/object-name
configuration_shared: Simplify name lookup in highlighting functions
Diffstat (limited to 'src/yuzu/configuration/configuration_shared.h')
-rw-r--r-- | src/yuzu/configuration/configuration_shared.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h index 003148c68..312b9e549 100644 --- a/src/yuzu/configuration/configuration_shared.h +++ b/src/yuzu/configuration/configuration_shared.h @@ -39,13 +39,12 @@ void SetPerGameSetting(QComboBox* combobox, void SetPerGameSetting(QComboBox* combobox, const Settings::Setting<Settings::GPUAccuracy>* setting); -void SetHighlight(QWidget* widget, const std::string& name, bool highlighted); -void SetColoredTristate(QCheckBox* checkbox, const std::string& name, - const Settings::Setting<bool>& setting, CheckState& tracker); -void SetColoredTristate(QCheckBox* checkbox, const std::string& name, bool global, bool state, - bool global_state, CheckState& tracker); -void SetColoredComboBox(QComboBox* combobox, QWidget* target, const std::string& target_name, - int global); +void SetHighlight(QWidget* widget, bool highlighted); +void SetColoredTristate(QCheckBox* checkbox, const Settings::Setting<bool>& setting, + CheckState& tracker); +void SetColoredTristate(QCheckBox* checkbox, bool global, bool state, bool global_state, + CheckState& tracker); +void SetColoredComboBox(QComboBox* combobox, QWidget* target, int global); void InsertGlobalItem(QComboBox* combobox, int global_index); |