Qt5: toAscii() and fromAscii() Methods are deprecated

This commit is contained in:
Mark Morschhäuser 2014-06-20 16:55:26 +02:00
parent a903c231f2
commit 6fa94dd475
3 changed files with 3 additions and 3 deletions

View file

@ -553,7 +553,7 @@ int Json::nextToken(const QString &json, int &index)
QChar c = json[index];
index++;
switch(c.toAscii())
switch(c.toLatin1())
{
case '{': return JsonTokenCurlyOpen;
case '}': return JsonTokenCurlyClose;