Documented an unclear method call
authorOndrej Skopek <skopekondrej@gmail.com>
Sat, 15 Dec 2012 23:00:07 +0100
changeset 8301 8bf36d368291
parent 8300 1978de6842c7
child 8302 a7934cd12469
Documented an unclear method call
QTfrontend/gameuiconfig.cpp
--- a/QTfrontend/gameuiconfig.cpp	Sat Dec 15 22:42:21 2012 +0100
+++ b/QTfrontend/gameuiconfig.cpp	Sat Dec 15 23:00:07 2012 +0100
@@ -483,8 +483,8 @@
 {
     setValue("net/passwordhash", QString());
     setValue("net/passwordlength", 0);
-    setValue("net/savepassword", false);
-    reloadValues();
+    setValue("net/savepassword", false); //changes the savepassword value to false in order to not let the user save an empty password in PAGE_SETUP
+    reloadValues(); //reloads the values of PAGE_SETUP
 }
 
 void GameUIConfig::setPasswordHash(const QString & passwordhash)