diff options
| author | 2018-10-25 16:50:05 -0400 | |
|---|---|---|
| committer | 2018-10-25 16:50:07 -0400 | |
| commit | 8806e69f596f3e046f802cda068af86ec0c3f553 (patch) | |
| tree | 458d6370143a4e1b4d04b08a8ed5f31a6d0db80e | |
| parent | configure_system: Amend function casing (diff) | |
| download | yuzu-8806e69f596f3e046f802cda068af86ec0c3f553.tar.gz yuzu-8806e69f596f3e046f802cda068af86ec0c3f553.tar.xz yuzu-8806e69f596f3e046f802cda068af86ec0c3f553.zip | |
configure_system: Simplify UUID generation call in AddUser()
This is a static function so we can just perform an assignment directly.
| -rw-r--r-- | src/yuzu/configuration/configure_system.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp index d4ed7d5d3..3aa9ca07e 100644 --- a/src/yuzu/configuration/configure_system.cpp +++ b/src/yuzu/configuration/configure_system.cpp | |||
| @@ -232,8 +232,7 @@ void ConfigureSystem::SelectUser(const QModelIndex& index) { | |||
| 232 | } | 232 | } |
| 233 | 233 | ||
| 234 | void ConfigureSystem::AddUser() { | 234 | void ConfigureSystem::AddUser() { |
| 235 | Service::Account::UUID uuid; | 235 | const auto uuid = Service::Account::UUID::Generate(); |
| 236 | uuid.Generate(); | ||
| 237 | 236 | ||
| 238 | bool ok = false; | 237 | bool ok = false; |
| 239 | const auto username = | 238 | const auto username = |