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
264e8256
Commit
264e8256
authored
Jan 09, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix warning
parent
2ec6e3dd
Pipeline
#12996
passed with stage
in 17 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectsubclip.cpp
View file @
264e8256
...
...
@@ -217,6 +217,9 @@ void ProjectSubClip::setProperties(const QMap<QString, QString> &properties)
propertyFound
=
true
;
m_rating
=
properties
.
value
(
QStringLiteral
(
"kdenlive:rating"
)).
toUInt
();
}
if
(
!
propertyFound
)
{
return
;
}
if
(
auto
ptr
=
m_model
.
lock
())
{
std
::
shared_ptr
<
AbstractProjectItem
>
parentItem
=
std
::
static_pointer_cast
<
ProjectItemModel
>
(
ptr
)
->
getItemByBinId
(
m_parentClipId
);
if
(
parentItem
&&
parentItem
->
itemType
()
==
AbstractProjectItem
::
ClipItem
)
{
...
...
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