QTfrontend/gameuiconfig.cpp
changeset 7347 88685fbb2679
parent 7280 fd707afbc3a2
parent 7313 162bc562335b
child 7565 00568d3054d0
--- a/QTfrontend/gameuiconfig.cpp	Tue Jun 26 23:29:41 2012 +0400
+++ b/QTfrontend/gameuiconfig.cpp	Fri Jul 06 12:50:18 2012 +0400
@@ -374,7 +374,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()