diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-09-02 21:40:55 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-07 13:50:13 -0400 |
commit | fb66a455c4c7c1e196fc1001a52325a33e50b127 (patch) | |
tree | 97782dab7d9b57b119c765e73a585a6b90484a43 /src/yuzu/configuration/configure_debug.h | |
parent | f84328934f5e09894a69d9fa1d2f6a34c715321b (diff) |
yuzu qt: Remove global system instances from config, WaitTree, main
Diffstat (limited to 'src/yuzu/configuration/configure_debug.h')
-rw-r--r-- | src/yuzu/configuration/configure_debug.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_debug.h b/src/yuzu/configuration/configure_debug.h index f4805a1d8e..89eb9d76c9 100644 --- a/src/yuzu/configuration/configure_debug.h +++ b/src/yuzu/configuration/configure_debug.h @@ -7,6 +7,10 @@ #include <memory> #include <QWidget> +namespace Core { +class System; +} + namespace Ui { class ConfigureDebug; } @@ -15,7 +19,7 @@ class ConfigureDebug : public QWidget { Q_OBJECT public: - explicit ConfigureDebug(QWidget* parent = nullptr); + explicit ConfigureDebug(Core::System& system_, QWidget* parent = nullptr); ~ConfigureDebug() override; void ApplyConfiguration(); @@ -27,4 +31,6 @@ private: void SetConfiguration(); std::unique_ptr<Ui::ConfigureDebug> ui; + + Core::System& system; }; |