diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-07-08 14:46:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 14:46:31 -0400 |
commit | 5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7 (patch) | |
tree | bd1e570a3f0594557e28516b0974aa07f67ad616 /src/core/frontend/applets | |
parent | c7ad195fd3eeea380465be48264f4e69165178c7 (diff) | |
parent | a949ee0410fcce9144806d7b64e9ae4bffd4fee9 (diff) |
Merge pull request #6539 from lat9nq/default-setting
general: Move most settings' defaults and labels into their definition
Diffstat (limited to 'src/core/frontend/applets')
-rw-r--r-- | src/core/frontend/applets/profile_select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/frontend/applets/profile_select.cpp b/src/core/frontend/applets/profile_select.cpp index 8d960d1ca..4c58c310f 100644 --- a/src/core/frontend/applets/profile_select.cpp +++ b/src/core/frontend/applets/profile_select.cpp @@ -13,7 +13,7 @@ ProfileSelectApplet::~ProfileSelectApplet() = default; void DefaultProfileSelectApplet::SelectProfile( std::function<void(std::optional<Common::UUID>)> callback) const { Service::Account::ProfileManager manager; - callback(manager.GetUser(Settings::values.current_user).value_or(Common::UUID{})); + callback(manager.GetUser(Settings::values.current_user.GetValue()).value_or(Common::UUID{})); LOG_INFO(Service_ACC, "called, selecting current user instead of prompting..."); } |