equal
deleted
inserted
replaced
331 Form->ui.pageOptions->editNetNick->setText(value("net/nick", "").toString()); |
331 Form->ui.pageOptions->editNetNick->setText(value("net/nick", "").toString()); |
332 } |
332 } |
333 |
333 |
334 QByteArray GameUIConfig::netPasswordHash() |
334 QByteArray GameUIConfig::netPasswordHash() |
335 { |
335 { |
336 return QCryptographicHash::hash(Form->ui.pageOptions->editNetPassword->text().toLatin1(), QCryptographicHash::Md5).toHex(); |
336 return QCryptographicHash::hash(Form->ui.pageOptions->editNetPassword->text().toUtf8(), QCryptographicHash::Md5).toHex(); |
337 } |
337 } |
338 |
338 |
339 int GameUIConfig::netPasswordLength() |
339 int GameUIConfig::netPasswordLength() |
340 { |
340 { |
341 return Form->ui.pageOptions->editNetPassword->text().size(); |
341 return Form->ui.pageOptions->editNetPassword->text().size(); |