1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-29 23:46:31 -05:00

yuzu qt: Remove global system instances from config, WaitTree, main

This commit is contained in:
lat9nq
2021-09-02 21:40:55 -04:00
committed by Morph
parent f84328934f
commit fb66a455c4
69 changed files with 687 additions and 635 deletions

View File

@@ -11,6 +11,10 @@
#include "core/file_sys/vfs_types.h"
namespace Core {
class System;
}
class QGraphicsScene;
class QStandardItem;
class QStandardItemModel;
@@ -25,7 +29,7 @@ class ConfigurePerGameAddons : public QWidget {
Q_OBJECT
public:
explicit ConfigurePerGameAddons(QWidget* parent = nullptr);
explicit ConfigurePerGameAddons(Core::System& system_, QWidget* parent = nullptr);
~ConfigurePerGameAddons() override;
/// Save all button configurations to settings file
@@ -50,4 +54,6 @@ private:
QStandardItemModel* item_model;
std::vector<QList<QStandardItem*>> list_items;
Core::System& system;
};