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
Multimedia
Kdenlive
Commits
22cd5006
Commit
22cd5006
authored
Apr 10, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash on folder import
Fixes
#624
parent
b300d6a7
Pipeline
#18095
passed with stage
in 9 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/clipcreationdialog.cpp
View file @
22cd5006
...
...
@@ -404,7 +404,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QString &par
// Check for image sequence
const
QUrl
&
url
=
list
.
at
(
0
);
QString
fileName
=
url
.
fileName
().
section
(
QLatin1Char
(
'.'
),
0
,
-
2
);
if
(
fileName
.
at
(
fileName
.
size
()
-
1
).
isDigit
())
{
if
(
!
fileName
.
isEmpty
()
&&
fileName
.
at
(
fileName
.
size
()
-
1
).
isDigit
())
{
KFileItem
item
(
url
);
if
(
item
.
mimetype
().
startsWith
(
QLatin1String
(
"image"
)))
{
// import as sequence if we found more than one image in the sequence
...
...
Write
Preview
Supports
Markdown
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