summaryrefslogtreecommitdiff
path: root/src/core/frontend/applets
diff options
context:
space:
mode:
authorGravatar Ameer J2021-07-08 14:46:31 -0400
committerGravatar GitHub2021-07-08 14:46:31 -0400
commit5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7 (patch)
treebd1e570a3f0594557e28516b0974aa07f67ad616 /src/core/frontend/applets
parentOut of bound blit (#6531) (diff)
parentgeneral: Code formatting improvements (diff)
downloadyuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.gz
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.xz
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.zip
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.cpp2
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;
13void DefaultProfileSelectApplet::SelectProfile( 13void DefaultProfileSelectApplet::SelectProfile(
14 std::function<void(std::optional<Common::UUID>)> callback) const { 14 std::function<void(std::optional<Common::UUID>)> callback) const {
15 Service::Account::ProfileManager manager; 15 Service::Account::ProfileManager manager;
16 callback(manager.GetUser(Settings::values.current_user).value_or(Common::UUID{})); 16 callback(manager.GetUser(Settings::values.current_user.GetValue()).value_or(Common::UUID{}));
17 LOG_INFO(Service_ACC, "called, selecting current user instead of prompting..."); 17 LOG_INFO(Service_ACC, "called, selecting current user instead of prompting...");
18} 18}
19 19