QTfrontend/gameuiconfig.cpp
changeset 8295 6ef114ea2298
parent 8294 0e5782b0dd54
child 8297 b236e3afed0d
equal deleted inserted replaced
8294:0e5782b0dd54 8295:6ef114ea2298
   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);
   493     setValue("net/passwordlength", passwordhash.size());
   493     setValue("net/passwordlength", passwordhash.size());
   494     netPasswordLength();
   494     setNetPasswordLength(passwordhash.size());
   495 }
   495 }
   496 
   496 
   497 QString GameUIConfig::passwordHash()
   497 QString GameUIConfig::passwordHash()
   498 {
   498 {
   499     return value("net/passwordhash").toString();
   499     return value("net/passwordhash").toString();