This operation should be a no-op anyway, since at this point in time,
the fromAscii and toAscii functions simply call their fromLatin1 and
toLatin1 counterparts.
Task-number: QTBUG-21872
Change-Id: I73963515a44175cb63251d0508d5f28d78076d76
Reviewed-by: John Layt <jlayt@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
j++;
// that's our default printer
defaultPrinter =
- qstrdup(printerDesc.mid(i, j-i).toAscii().data());
+ qstrdup(printerDesc.mid(i, j-i).toLatin1().data());
printerName = QString();
printerDesc = QString();
} else if (printerName == QLatin1String("_all")) {
if (def.readLine(etcLpDefault.data(), 1024) > 0) {
QRegExp rx(QLatin1String("^(\\S+)"));
if (rx.indexIn(QString::fromLatin1(etcLpDefault)) != -1)
- etcLpDefault = rx.cap(1).toAscii();
+ etcLpDefault = rx.cap(1).toLatin1();
}
}
}