mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-14 17:46:29 +00:00
qt: implement RequestExit for applets
This commit is contained in:
@@ -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{}));
|
||||
|
||||
Reference in New Issue
Block a user