Fix possibly wrong message on moving project folder

parent dc6dff18
......@@ -795,7 +795,7 @@ void KdenliveDoc::moveProjectData(const QString &/*src*/, const QString &dest)
if (proxyDir.mkpath(QStringLiteral("."))) {
KIO::CopyJob *job = KIO::move(cacheUrls, QUrl::fromLocalFile(proxyDir.absolutePath()));
KJobWidgets::setWindow(job, QApplication::activeWindow());
if (job->exec() > 0) {
if (job->exec() == false) {
KMessageBox::sorry(QApplication::activeWindow(), i18n("Moving proxy clips failed: %1", job->errorText()));
}
}
......
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