# HG changeset patch
# User Ondrej Skopek <skopekondrej@gmail.com>
# Date 1355608807 -3600
# Node ID 8bf36d3682913cdadb2bc8c1cc4893da1ad11d69
# Parent  1978de6842c7524558ba3ca5490ab844e4554a19
Documented an unclear method call

diff -r 1978de6842c7 -r 8bf36d368291 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)