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