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
4652d902
Commit
4652d902
authored
Jun 01, 2020
by
Gustavo Carneiro
Committed by
Jean-Baptiste Mardelle
Jun 01, 2020
Browse files
kdenlive: remove compile warnings
parent
059750ad
Pipeline
#22032
passed with stage
in 9 minutes and 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/keyframes/model/keyframemodel.cpp
View file @
4652d902
...
...
@@ -919,12 +919,11 @@ QVariant KeyframeModel::getInterpolatedValue(const GenTime &pos) const
}
Mlt
::
Properties
mlt_prop
;
QString
animData
;
int
in
=
0
;
int
out
=
0
;
bool
useOpacity
=
false
;
if
(
auto
ptr
=
m_model
.
lock
())
{
ptr
->
passProperties
(
mlt_prop
);
in
=
ptr
->
data
(
m_index
,
AssetParameterModel
::
ParentInRole
).
toInt
();
ptr
->
data
(
m_index
,
AssetParameterModel
::
ParentInRole
).
toInt
();
out
=
ptr
->
data
(
m_index
,
AssetParameterModel
::
ParentDurationRole
).
toInt
();
useOpacity
=
ptr
->
data
(
m_index
,
AssetParameterModel
::
OpacityRole
).
toBool
();
animData
=
ptr
->
data
(
m_index
,
AssetParameterModel
::
ValueRole
).
toString
();
...
...
src/assets/keyframes/model/keyframemonitorhelper.cpp
View file @
4652d902
...
...
@@ -55,7 +55,7 @@ void KeyframeMonitorHelper::addIndex(const QPersistentModelIndex &index)
m_indexes
<<
index
;
}
void
KeyframeMonitorHelper
::
refreshParams
(
int
pos
)
void
KeyframeMonitorHelper
::
refreshParams
(
int
/* pos */
)
{
QVariantList
points
;
QVariantList
types
;
...
...
src/timeline2/view/timelinecontroller.cpp
View file @
4652d902
...
...
@@ -2807,7 +2807,6 @@ void TimelineController::updateClipActions()
if
(
m_model
->
isClip
(
item
))
{
clip
=
m_model
->
getClipPtr
(
item
);
}
bool
enablePositionActions
=
positionIsInItem
(
item
);
for
(
QAction
*
act
:
clipActions
)
{
bool
enableAction
=
true
;
const
QChar
actionData
=
act
->
data
().
toChar
();
...
...
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