mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
Qt5: toAscii() and fromAscii() Methods are deprecated
This commit is contained in:
parent
a903c231f2
commit
6fa94dd475
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue