diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-14 14:12:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 14:12:22 -0400 |
commit | b02d662980a401057d2ff7c1522d47f9f6538d81 (patch) | |
tree | 2717ff56b111eb1adfcb712e14ad69f25ab76b68 /src/yuzu/configuration/configure_system.h | |
parent | 894b483a0d619c3ceaa79fa0ff4cef6d37301f9c (diff) | |
parent | b6894bfc5b86c2fae0b401f2cfc294a08994781d (diff) |
Merge pull request #6774 from lat9nq/remove-global-yuzu
yuzu qt: Remove global system instances
Diffstat (limited to 'src/yuzu/configuration/configure_system.h')
-rw-r--r-- | src/yuzu/configuration/configure_system.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_system.h b/src/yuzu/configuration/configure_system.h index fc5cd2945..bb24c9ae7 100644 --- a/src/yuzu/configuration/configure_system.h +++ b/src/yuzu/configuration/configure_system.h @@ -9,6 +9,10 @@ #include <QList> #include <QWidget> +namespace Core { +class System; +} + namespace ConfigurationShared { enum class CheckState; } @@ -21,17 +25,16 @@ class ConfigureSystem : public QWidget { Q_OBJECT public: - explicit ConfigureSystem(QWidget* parent = nullptr); + explicit ConfigureSystem(Core::System& system_, QWidget* parent = nullptr); ~ConfigureSystem() override; void ApplyConfiguration(); + void SetConfiguration(); private: void changeEvent(QEvent* event) override; void RetranslateUI(); - void SetConfiguration(); - void ReadSystemSettings(); void RefreshConsoleID(); @@ -48,4 +51,6 @@ private: ConfigurationShared::CheckState use_rng_seed; ConfigurationShared::CheckState use_custom_rtc; + + Core::System& system; }; |