Make headers safe with QT_NO_CAST_FROM_BYTEARRAY.
Change-Id: I0f9dfee505ebc48d9c586c010ad75877a7387836 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
This commit is contained in:
parent
4471e45f74
commit
d215bdfc52
@ -363,9 +363,9 @@ inline QString QImage::text(const QImageTextKeyLang&kl) const
|
||||
{
|
||||
if (!d)
|
||||
return QString();
|
||||
QString k = QString::fromAscii(kl.key);
|
||||
QString k = QString::fromAscii(kl.key.constData());
|
||||
if (!kl.lang.isEmpty())
|
||||
k += QLatin1Char('/') + QString::fromAscii(kl.lang);
|
||||
k += QLatin1Char('/') + QString::fromAscii(kl.lang.constData());
|
||||
return text(k);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user