diff options
author | lat9nq <[email protected]> | 2023-05-09 16:36:09 -0400 |
---|---|---|
committer | lat9nq <[email protected]> | 2023-07-21 10:56:07 -0400 |
commit | b11a2a206fa2945c954f0b432937bfd468c43fea (patch) | |
tree | e9657af345ff3ab2424a100e98ae5c318f8acfe0 /src/yuzu/configuration/shared_widget.h | |
parent | cdb5dea26959001f9cf7448fcdb612475045a313 (diff) | |
download | yuzu-android-b11a2a206fa2945c954f0b432937bfd468c43fea.tar.gz yuzu-android-b11a2a206fa2945c954f0b432937bfd468c43fea.zip |
shared_widget: Internalize extra setting configuration
Diffstat (limited to 'src/yuzu/configuration/shared_widget.h')
-rw-r--r-- | src/yuzu/configuration/shared_widget.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/yuzu/configuration/shared_widget.h b/src/yuzu/configuration/shared_widget.h index c25d819f0..88a864b42 100644 --- a/src/yuzu/configuration/shared_widget.h +++ b/src/yuzu/configuration/shared_widget.h @@ -33,7 +33,7 @@ public: Widget(Settings::BasicSetting* setting, const TranslationMap& translations, QWidget* parent, bool runtime_lock, std::forward_list<std::function<void(bool)>>& apply_funcs, RequestType request = RequestType::Default, bool managed = true, float multiplier = 1.0f, - const Settings::BasicSetting* other_setting = nullptr, + Settings::BasicSetting* other_setting = nullptr, const QString& format = QStringLiteral("")); virtual ~Widget(); @@ -51,11 +51,9 @@ public: private: void CreateCheckBox(const QString& label, std::function<void()>& load_func); - void CreateCheckBoxWithLineEdit(const QString& label, - const Settings::BasicSetting* other_setting, + void CreateCheckBoxWithLineEdit(const QString& label, Settings::BasicSetting* other_setting, std::function<void()>& load_func); - void CreateCheckBoxWithSpinBox(const QString& label, - const Settings::BasicSetting* other_setting, + void CreateCheckBoxWithSpinBox(const QString& label, Settings::BasicSetting* other_setting, std::function<void()>& load_func, const QString& suffix); void CreateCombobox(const QString& label, bool managed, std::function<void()>& load_func); void CreateLineEdit(const QString& label, bool managed, std::function<void()>& load_func); |