Commit fa6a4660 authored by Laurent Montel's avatar Laurent Montel 😁

Remove some unused variable

parent 99a26ddd
......@@ -2742,7 +2742,6 @@ void Bin::loadSubClips(const QString&id, const QMap <QString,QString> data)
// Problem, the zone has no in/out points
continue;
}
QImage img;
int in = i.value().section(QLatin1Char(';'), 0, 0).toInt();
int out = i.value().section(QLatin1Char(';'), 1, 1).toInt();
if (maxFrame > 0)
......
......@@ -442,7 +442,6 @@ bool DocumentChecker::hasErrorInClips()
item->setToolTip(0, i18n("Missing source clip"));
for (int i = 0; i < max; ++i) {
e = missingSources.at(i).toElement();
QString clipType;
QString realPath = EffectsList::property(e, QStringLiteral("kdenlive:originalurl"));
QString id = e.attribute(QStringLiteral("id"));
// Tell Kdenlive the source is missing
......
......@@ -555,7 +555,6 @@ bool DocumentValidator::upgrade(double version, const double currentVersion)
QDomNodeList objects = titleclip.childNodes();
int maxchild = objects.count();
for (int k = 0; k < maxchild; ++k) {
QString objectxml;
QDomElement ob = objects.at(k).toElement();
if (ob.attribute(QStringLiteral("type")) == QLatin1String("3")) {
// text object - all of this goes into "xmldata"...
......
......@@ -1265,7 +1265,6 @@ void ParameterContainer::slotStartFilterJobAction()
EffectsParameterList parameters;
QDomNodeList params = m_effect.elementsByTagName(QStringLiteral("parameter"));
EffectsController::adjustEffectParameters(parameters, params, m_metaInfo->monitor->profileInfo());
QString paramData;
for (int j = 0; j < parameters.count(); ++j) {
filterParams.insert(parameters.at(j).name(), parameters.at(j).value());
}
......
......@@ -3230,7 +3230,6 @@ void MainWindow::slotTranscode(const QStringList &urls)
{
QString params;
QString desc;
QString condition;
if (urls.isEmpty()) {
QAction *action = qobject_cast<QAction *>(sender());
QStringList data = action->data().toStringList();
......@@ -3327,7 +3326,6 @@ void MainWindow::slotPrepareRendering(bool scriptExport, bool zoneOnly, const QS
QMap <double, QString> guidesData = pCore->projectManager()->currentTimeline()->projectView()->guidesData();
QMapIterator<double, QString> g(guidesData);
QLocale locale;
while (g.hasNext()) {
g.next();
int time = (int) GenTime(g.key()).frames(project->fps());
......
......@@ -242,7 +242,6 @@ void RecManager::slotRecord(bool record)
++i;
}
m_captureFile = QUrl::fromLocalFile(path);
QString args;
QString captureSize;
int screen = -1;
if (m_screenCombo) {
......
......@@ -49,7 +49,6 @@ ClipStabilize::ClipStabilize(const QStringList &urls, const QString &filterName,
if (m_urls.count() == 1) {
QString newFile = m_urls.first();
newFile.append(".mlt");
QUrl dest(newFile);
dest_url->setMode(KFile::File);
dest_url->setUrl(QUrl(newFile));
} else {
......
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