forked from ShuriZma/suyu
1
0
Fork 0

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:
Lioncash 2018-10-25 16:50:05 -04:00
parent a6addb5332
commit 8806e69f59
1 changed files with 1 additions and 2 deletions

View File

@ -232,8 +232,7 @@ void ConfigureSystem::SelectUser(const QModelIndex& index) {
} }
void ConfigureSystem::AddUser() { void ConfigureSystem::AddUser() {
Service::Account::UUID uuid; const auto uuid = Service::Account::UUID::Generate();
uuid.Generate();
bool ok = false; bool ok = false;
const auto username = const auto username =