summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/profile_select.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-04-01 15:49:22 +0200
committerGitHub <noreply@github.com>2023-04-01 15:49:22 +0200
commit1ab052952dcc3c612837262474c91ed8780961c3 (patch)
tree2ef9339cd92fd2271ee1b42a8ec19bf79c4954a8 /src/core/frontend/applets/profile_select.cpp
parentMerge pull request #9997 from german77/cancel_controller (diff)
parentservice: am: Improve profile select applet (diff)
downloadyuzu-1ab052952dcc3c612837262474c91ed8780961c3.tar
yuzu-1ab052952dcc3c612837262474c91ed8780961c3.tar.gz
yuzu-1ab052952dcc3c612837262474c91ed8780961c3.tar.bz2
yuzu-1ab052952dcc3c612837262474c91ed8780961c3.tar.lz
yuzu-1ab052952dcc3c612837262474c91ed8780961c3.tar.xz
yuzu-1ab052952dcc3c612837262474c91ed8780961c3.tar.zst
yuzu-1ab052952dcc3c612837262474c91ed8780961c3.zip
Diffstat (limited to 'src/core/frontend/applets/profile_select.cpp')
-rw-r--r--src/core/frontend/applets/profile_select.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/frontend/applets/profile_select.cpp b/src/core/frontend/applets/profile_select.cpp
index 910d20c0d..c18f17a36 100644
--- a/src/core/frontend/applets/profile_select.cpp
+++ b/src/core/frontend/applets/profile_select.cpp
@@ -11,7 +11,8 @@ ProfileSelectApplet::~ProfileSelectApplet() = default;
void DefaultProfileSelectApplet::Close() const {}
-void DefaultProfileSelectApplet::SelectProfile(SelectProfileCallback callback) const {
+void DefaultProfileSelectApplet::SelectProfile(SelectProfileCallback callback,
+ const ProfileSelectParameters& parameters) const {
Service::Account::ProfileManager manager;
callback(manager.GetUser(Settings::values.current_user.GetValue()).value_or(Common::UUID{}));
LOG_INFO(Service_ACC, "called, selecting current user instead of prompting...");