From 4bb9a1021066ef96e7b424fe7a3949cbbcfa195c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 May 2020 12:22:37 +0300 Subject: Fix code style after merged switch port code --- src/net/ea/loginhandler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index 92a2e9f35..2fc177476 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -152,13 +152,15 @@ void LoginHandler::loginOrRegister(LoginData *const data) const loginAccount(data); const bool remember = data->remember; - if (remember) { + if (remember) + { serverConfig.setValue("username", data->username); #ifdef SAVE_PASSWORD serverConfig.setValue("password", data->password); #endif } - else { + else + { serverConfig.setValue("username", ""); #ifdef SAVE_PASSWORD serverConfig.setValue("password", ""); -- cgit v1.2.3-70-g09d2