qt: implement RequestExit for applets

This commit is contained in:
Liam 2023-03-25 13:29:08 -04:00
parent 950db851ea
commit 50a59487eb
38 changed files with 250 additions and 69 deletions

View file

@ -9,6 +9,8 @@ namespace Core::Frontend {
ProfileSelectApplet::~ProfileSelectApplet() = default;
void DefaultProfileSelectApplet::Close() const {}
void DefaultProfileSelectApplet::SelectProfile(SelectProfileCallback callback) const {
Service::Account::ProfileManager manager;
callback(manager.GetUser(Settings::values.current_user.GetValue()).value_or(Common::UUID{}));