mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 02:27:52 -05:00
yuzu qt: Remove global system instances from config, WaitTree, main
This commit is contained in:
@ -9,6 +9,10 @@
|
||||
#include <QList>
|
||||
#include <QWidget>
|
||||
|
||||
namespace Core {
|
||||
class System;
|
||||
}
|
||||
|
||||
class QGraphicsScene;
|
||||
class QStandardItem;
|
||||
class QStandardItemModel;
|
||||
@ -27,7 +31,7 @@ class ConfigureProfileManager : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConfigureProfileManager(QWidget* parent = nullptr);
|
||||
explicit ConfigureProfileManager(Core::System& system_, QWidget* parent = nullptr);
|
||||
~ConfigureProfileManager() override;
|
||||
|
||||
void ApplyConfiguration();
|
||||
@ -58,4 +62,6 @@ private:
|
||||
bool enabled = false;
|
||||
|
||||
std::unique_ptr<Service::Account::ProfileManager> profile_manager;
|
||||
|
||||
Core::System& system;
|
||||
};
|
||||
|
Reference in New Issue
Block a user