Fix tests

parent 321273b6
......@@ -89,8 +89,11 @@ void MltConnection::locateMeltAndProfilesPath(const QString &mltPath)
QString exeSuffix = "";
#endif
QString meltPath;
if (qEnvironmentVariableIsSet("MLT_PREFIX"))
if (qEnvironmentVariableIsSet("MLT_PREFIX")) {
meltPath = qgetenv("MLT_PREFIX") + QStringLiteral("/bin/melt") + exeSuffix;
} else {
meltPath = KdenliveSettings::rendererpath();
}
if (!QFile::exists(meltPath)) {
meltPath = QDir::cleanPath(profilePath + QStringLiteral("/../../../bin/melt")) + exeSuffix;
}
......
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