Skip to content
GitLab
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
9f540815
Commit
9f540815
authored
Jul 27, 2022
by
Pedro Liberatti
Browse files
Support more image formats
parent
92ef9afe
Pipeline
#209633
passed with stage
in 2 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
thumbnail/comiccreator.cpp
View file @
9f540815
...
...
@@ -84,9 +84,13 @@ void ComicCreator::filterImages(QStringList& entries)
entry
.
startsWith
(
QLatin1String
(
".DS_Store"
),
Qt
::
CaseInsensitive
))
{
continue
;
}
if
(
entry
.
endsWith
(
QLatin1String
(
".gif"
),
Qt
::
CaseInsensitive
)
||
if
(
entry
.
endsWith
(
QLatin1String
(
".avif"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".bmp"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".gif"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".heif"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".jpg"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".jpeg"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".jxl"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".png"
),
Qt
::
CaseInsensitive
)
||
entry
.
endsWith
(
QLatin1String
(
".webp"
),
Qt
::
CaseInsensitive
))
{
entryMap
.
insert
(
entry
.
toLower
(),
entry
);
...
...
Pedro Liberatti
@ferrahwolfeh
mentioned in commit
81a71588
·
Jul 27, 2022
mentioned in commit
81a71588
mentioned in commit 81a71588fbc590e0bd2a27e74cd7eb2cf910d5c4
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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