QTfrontend/gameuiconfig.cpp
changeset 7439 0a494f951dcf
parent 7313 162bc562335b
child 7347 88685fbb2679
child 7541 e51b11349637
--- a/QTfrontend/gameuiconfig.cpp	Thu Jul 26 11:01:32 2012 +0200
+++ b/QTfrontend/gameuiconfig.cpp	Thu Jul 26 11:10:56 2012 +0200
@@ -333,7 +333,7 @@
 
 QByteArray GameUIConfig::netPasswordHash()
 {
-    return QCryptographicHash::hash(Form->ui.pageOptions->editNetPassword->text().toLatin1(), QCryptographicHash::Md5).toHex();
+    return QCryptographicHash::hash(Form->ui.pageOptions->editNetPassword->text().toUtf8(), QCryptographicHash::Md5).toHex();
 }
 
 int GameUIConfig::netPasswordLength()