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
a11cc87f
Commit
a11cc87f
authored
Dec 08, 2019
by
Jean-Baptiste Mardelle
Browse files
DOn't attempt to load empty data as JSon
parent
6973df8e
Pipeline
#11600
passed with stage
in 13 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectitemmodel.cpp
View file @
a11cc87f
...
...
@@ -466,6 +466,9 @@ void ProjectItemModel::loadSubClips(const QString &id, const QString &clipData)
void
ProjectItemModel
::
loadSubClips
(
const
QString
&
id
,
const
QString
&
dataMap
,
Fun
&
undo
,
Fun
&
redo
)
{
if
(
dataMap
.
isEmpty
())
{
return
;
}
QWriteLocker
locker
(
&
m_lock
);
std
::
shared_ptr
<
ProjectClip
>
clip
=
getClipByBinID
(
id
);
if
(
!
clip
)
{
...
...
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