equal
deleted
inserted
replaced
481 |
481 |
482 void GameUIConfig::clearPasswordHash() |
482 void GameUIConfig::clearPasswordHash() |
483 { |
483 { |
484 setValue("net/passwordhash", QString()); |
484 setValue("net/passwordhash", QString()); |
485 setValue("net/passwordlength", 0); |
485 setValue("net/passwordlength", 0); |
486 setValue("net/savepassword", false); |
486 setValue("net/savepassword", false); //changes the savepassword value to false in order to not let the user save an empty password in PAGE_SETUP |
487 reloadValues(); |
487 reloadValues(); //reloads the values of PAGE_SETUP |
488 } |
488 } |
489 |
489 |
490 void GameUIConfig::setPasswordHash(const QString & passwordhash) |
490 void GameUIConfig::setPasswordHash(const QString & passwordhash) |
491 { |
491 { |
492 setValue("net/passwordhash", passwordhash); |
492 setValue("net/passwordhash", passwordhash); |