mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-11-05 17:39:01 -06:00
core: Use single instance of profile manager
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user