Remove unnecessary duplicate check

parent d5e8c9c0
......@@ -96,9 +96,9 @@ void MltConnection::locateMeltAndProfilesPath(const QString &mltPath)
}
if (!QFile::exists(meltPath)) {
meltPath = QDir::cleanPath(profilePath + QStringLiteral("/../../../bin/melt")) + exeSuffix;
}
if (!QFile::exists(meltPath)) {
meltPath = QStandardPaths::findExecutable("melt");
if (!QFile::exists(meltPath)) {
meltPath = QStandardPaths::findExecutable("melt");
}
}
KdenliveSettings::setRendererpath(meltPath);
......
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