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
Multimedia
Kdenlive
Commits
e9456b2b
Commit
e9456b2b
authored
Apr 10, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash on folder import
Fixes
#624
parent
d3869fb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/clipcreationdialog.cpp
View file @
e9456b2b
...
...
@@ -400,7 +400,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
.
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