Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO Extras
Commits
98855307
Commit
98855307
authored
Sep 25, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
thumbnail/comiccreator.cpp
View file @
98855307
...
...
@@ -91,7 +91,8 @@ void ComicCreator::filterImages(QStringList& entries)
if
(
entry
.
endsWith
(
QLatin1String
(
".gif"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".jpg"
),
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment