branch | webgl |
changeset 9950 | 2759212a27de |
parent 9521 | 8054d9d775fd |
parent 9718 | 563a34cd8398 |
child 10015 | 4feced261c68 |
--- a/QTfrontend/game.cpp Fri Oct 11 17:43:13 2013 +0200 +++ b/QTfrontend/game.cpp Sat Jan 04 23:55:54 2014 +0400 @@ -506,7 +506,7 @@ void HWGame::sendCampaignVar(const QByteArray &varToSend) { - QString varToFind(varToSend); + QString varToFind = QString::fromUtf8(varToSend); QSettings teamfile(QString("physfs://Teams/%1.hwt").arg(campaignTeam), QSettings::IniFormat, 0); teamfile.setIniCodec("UTF-8"); QString varValue = teamfile.value("Campaign " + campaign + "/" + varToFind, "").toString();