Commit 76343987 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle Committed by Vincent PINON

Fix some compiler reported errors

parent d1e8d53d
......@@ -58,7 +58,7 @@ void MeltJob::setProducer(Mlt::Producer *producer, const KUrl &url)
{
m_url = QString::fromUtf8(producer->get("resource"));
if (m_url == QLatin1String("<playlist>") || m_url == QLatin1String("<tractor>") || m_url == QLatin1String("<producer>"))
m_url == url.path();
m_url = url.path();
}
void MeltJob::startJob()
......
......@@ -95,7 +95,7 @@ void StatusBarMessageLabel::setMessage(const QString& text,
// Message with normal priority
m_messageQueue.push_back(item);
if (!m_queueTimer.elapsed() >= m_currentMessage.timeoutMillis) {
if (m_queueTimer.elapsed() >= m_currentMessage.timeoutMillis) {
m_queueTimer.start(0);
}
......
......@@ -36,8 +36,7 @@ private slots:
void emitCommitData();
};
struct TrackInfo;
class TrackInfo;
class KdenliveDoc;
class QTableWidgetItem;
......
......@@ -246,7 +246,7 @@ void TrackView::parseDocument(const QDomDocument &doc)
}
}
if (p.attribute("id") != playlist_name) { // then it didn't work.
kDebug() << "NO PLAYLIST FOUND FOR TRACK " + pos;
kDebug() << "NO PLAYLIST FOUND FOR TRACK " << pos;
}
if (e.attribute("hide") == "video") {
m_doc->switchTrackVideo(i - 1, true);
......
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