Commit 4652d902 authored by Gustavo Carneiro's avatar Gustavo Carneiro Committed by Jean-Baptiste Mardelle

kdenlive: remove compile warnings

parent 059750ad
Pipeline #22032 passed with stage
in 9 minutes and 24 seconds
......@@ -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();
......
......@@ -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;
......
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment