Showing the changes to interface/src/scripting/GlobalServicesScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -52,8 +52,7 @@ const QString GlobalServicesScriptingInterface::getUsername() const { · 51 unmodified lines | ||
| 52 | 52 | auto accountManager = DependencyManager::get<AccountManager>(); |
| 53 | 53 | if (accountManager->isLoggedIn()) { |
| 54 | 54 | return accountManager->getAccountInfo().getUsername(); |
| 55 | − } | |
| 56 | − else { | |
| 55 | + } else { | |
| 57 | 56 | return "Unknown user"; |
| 58 | 57 | } |
| 59 | 58 | } |