Commit f3194ee1 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Do not use deprecated functionality.

toAscii -> toLatin1

Change-Id: Ib709f046fac965af6ee82c1432588e6467cd711b
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 192bd214
......@@ -60,8 +60,8 @@ static uchar fromHex(const uchar c, const uchar c2)
static uchar fromHex(const QString &s, int idx)
{
uchar c = s.at(idx).toAscii();
uchar c2 = s.at(idx + 1).toAscii();
uchar c = s.at(idx).toLatin1();
uchar c2 = s.at(idx + 1).toLatin1();
return fromHex(c, c2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment