game_list: Remove global instances of Core::System
This commit is contained in:
parent
493905665c
commit
4ce53ffe6a
5 changed files with 19 additions and 13 deletions
|
@ -72,7 +72,8 @@ public:
|
|||
};
|
||||
|
||||
explicit GameList(std::shared_ptr<FileSys::VfsFilesystem> vfs,
|
||||
FileSys::ManualContentProvider* provider, GMainWindow* parent = nullptr);
|
||||
FileSys::ManualContentProvider* provider, Core::System& system_,
|
||||
GMainWindow* parent = nullptr);
|
||||
~GameList() override;
|
||||
|
||||
QString GetLastFilterResultItem() const;
|
||||
|
@ -145,6 +146,8 @@ private:
|
|||
CompatibilityList compatibility_list;
|
||||
|
||||
friend class GameListSearchField;
|
||||
|
||||
Core::System& system;
|
||||
};
|
||||
|
||||
class GameListPlaceholder : public QWidget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue