mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
configure_system: Simplify UUID generation call in AddUser()
This is a static function so we can just perform an assignment directly.
This commit is contained in:
parent
a6addb5332
commit
8806e69f59
|
@ -232,8 +232,7 @@ void ConfigureSystem::SelectUser(const QModelIndex& index) {
|
|||
}
|
||||
|
||||
void ConfigureSystem::AddUser() {
|
||||
Service::Account::UUID uuid;
|
||||
uuid.Generate();
|
||||
const auto uuid = Service::Account::UUID::Generate();
|
||||
|
||||
bool ok = false;
|
||||
const auto username =
|
||||
|
|
Loading…
Reference in a new issue