Commit 645889c7 authored by Nicolas Carion's avatar Nicolas Carion

fix some warnings

parent 83e2ccf4
Pipeline #1570 passed with stage
in 14 minutes and 24 seconds
......@@ -126,7 +126,7 @@ endif()
find_package(RTTR 0.9.6 QUIET)
if(NOT RTTR_FOUND)
message("RTTR not found on system, will download source and build it")
message(STATUS "RTTR not found on system, will download source and build it")
include(rttr.CMakeLists.txt)
endif()
......
......@@ -361,7 +361,6 @@ void KeyframeModelList::resizeKeyframes(int oldIn, int oldOut, int in, int out,
// this is an endless resize clip
GenTime old_in(oldIn, pCore->getCurrentFps());
Keyframe kf = getKeyframe(old_in, &ok);
KeyframeType type = kf.second;
GenTime new_in(in + offset, pCore->getCurrentFps());
getKeyframe(new_in, &ok2);
positions = m_parameters.begin()->second->getKeyframePos();
......
......@@ -207,11 +207,11 @@ void AssetParameterView::refresh(const QModelIndex &topLeft, const QModelIndex &
m_widgets[0]->slotRefresh();
return;
}
size_t max;
int max;
if (!bottomRight.isValid()) {
max = m_widgets.size() - 1;
max = (int)m_widgets.size() - 1;
} else {
max = (size_t)bottomRight.row();
max = bottomRight.row();
}
Q_ASSERT(max < (int)m_widgets.size());
for (auto i = (size_t)topLeft.row(); i <= max; ++i) {
......
......@@ -382,6 +382,10 @@ void RenderWidget::slotShareActionFinished(const QJsonObject &output, int error,
KMessageBox::Notify | KMessageBox::AllowLink);
}
}
#else
Q_UNUSED(output);
Q_UNUSED(error);
Q_UNUSED(message);
#endif
}
......
......@@ -1087,6 +1087,9 @@ void GLWidget::stopCapture()
int GLWidget::reconfigureMulti(const QString &params, const QString &path, Mlt::Profile *profile)
{
Q_UNUSED(params);
Q_UNUSED(path);
Q_UNUSED(profile);
// TODO Fix or delete
/*
QString serviceName = property("mlt_service").toString();
......
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