changeset 9718 | 563a34cd8398 |
parent 9466 | 8b48c27201af |
child 9950 | 2759212a27de |
child 9998 | 736015b847e3 |
--- a/QTfrontend/game.cpp Mon Nov 25 10:12:18 2013 +0100 +++ b/QTfrontend/game.cpp Mon Nov 25 22:09:42 2013 +0100 @@ -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();