Commit 98855307 authored by Mitch Bigelow's avatar Mitch Bigelow
Browse files

thumbnail: add support for webp images in comic books

parent 363542c5
Pipeline #82695 passed with stage
in 3 minutes and 35 seconds
...@@ -91,7 +91,8 @@ void ComicCreator::filterImages(QStringList& entries) ...@@ -91,7 +91,8 @@ void ComicCreator::filterImages(QStringList& entries)
if (entry.endsWith(QLatin1String(".gif"), Qt::CaseInsensitive) || if (entry.endsWith(QLatin1String(".gif"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".jpg"), Qt::CaseInsensitive) || entry.endsWith(QLatin1String(".jpg"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".jpeg"), Qt::CaseInsensitive) || entry.endsWith(QLatin1String(".jpeg"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".png"), Qt::CaseInsensitive)) { entry.endsWith(QLatin1String(".png"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".webp"), Qt::CaseInsensitive)) {
entryMap.insert(entry.toLower(), entry); entryMap.insert(entry.toLower(), entry);
} }
} }
......
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