mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 05:57:46 +00:00
core: Use single instance of profile manager
This commit is contained in:
parent
4907a83298
commit
c2b2d7a903
13 changed files with 94 additions and 73 deletions
|
@ -52,7 +52,7 @@ class ConfigureProfileManager : public QWidget {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConfigureProfileManager(const Core::System& system_, QWidget* parent = nullptr);
|
||||
explicit ConfigureProfileManager(Core::System& system_, QWidget* parent = nullptr);
|
||||
~ConfigureProfileManager() override;
|
||||
|
||||
void ApplyConfiguration();
|
||||
|
@ -85,7 +85,6 @@ private:
|
|||
std::unique_ptr<Ui::ConfigureProfileManager> ui;
|
||||
bool enabled = false;
|
||||
|
||||
std::unique_ptr<Service::Account::ProfileManager> profile_manager;
|
||||
|
||||
Service::Account::ProfileManager& profile_manager;
|
||||
const Core::System& system;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue