History

fix if else convention

unknown committed 8 years ago

Commit be736371 parent dbbc87d1 file · +1 −2Browse files

Showing the changes to interface/src/scripting/GlobalServicesScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/scripting/GlobalServicesScriptingInterface.cpp+1−2
@@ -52,8 +52,7 @@ const QString GlobalServicesScriptingInterface::getUsername() const { · 51 unmodified lines
5252 auto accountManager = DependencyManager::get<AccountManager>();
5353 if (accountManager->isLoggedIn()) {
5454 return accountManager->getAccountInfo().getUsername();
55− }
56− else {
55+ } else {
5756 return "Unknown user";
5857 }
5958 }