diff --git a/src/imageformats/kra.cpp b/src/imageformats/kra.cpp index ceac73e..f4e8f28 100644 --- a/src/imageformats/kra.cpp +++ b/src/imageformats/kra.cpp @@ -39,7 +39,7 @@ bool KraHandler::read(QImage *image) KZip zip(device()); if (!zip.open(QIODevice::ReadOnly)) return false; - const KArchiveEntry *entry = zip.directory()->entry(QLatin1String("mergedimage.png")); + const KArchiveEntry *entry = zip.directory()->entry(QStringLiteral("mergedimage.png")); if (!entry || !entry->isFile()) return false; const KZipFileEntry* fileZipEntry = static_cast(entry); diff --git a/src/imageformats/ora.cpp b/src/imageformats/ora.cpp index 4e5a11e..ad05d9f 100644 --- a/src/imageformats/ora.cpp +++ b/src/imageformats/ora.cpp @@ -38,7 +38,7 @@ bool OraHandler::read(QImage *image) KZip zip(device()); if (!zip.open(QIODevice::ReadOnly)) return false; - const KArchiveEntry *entry = zip.directory()->entry(QLatin1String("mergedimage.png")); + const KArchiveEntry *entry = zip.directory()->entry(QStringLiteral("mergedimage.png")); if (!entry || !entry->isFile()) return false; const KZipFileEntry* fileZipEntry = static_cast(entry);