Use QString::toLatin1() rather than ::toAscii()

The toAscii (and fromAscii) are removed from Qt5 in favor of Latin1.
This commit is contained in:
Ben Boeckel 2013-11-24 21:19:20 +01:00 committed by Felix Geyer
parent 03e4b2d13c
commit 66b3d22041
7 changed files with 16 additions and 16 deletions

View file

@ -141,7 +141,7 @@ QString imageReaderFilter()
}
}
formatsStringList.append("*." + QString::fromAscii(format).toLower());
formatsStringList.append("*." + QString::fromLatin1(format).toLower());
}
return formatsStringList.join(" ");