Add workaround to disable checking for melt exec in test environment

parent c69d0c26
...@@ -102,7 +102,7 @@ void MltConnection::locateMeltAndProfilesPath(const QString &mltPath) ...@@ -102,7 +102,7 @@ void MltConnection::locateMeltAndProfilesPath(const QString &mltPath)
} }
KdenliveSettings::setRendererpath(meltPath); KdenliveSettings::setRendererpath(meltPath);
if (meltPath.isEmpty()) { if (meltPath.isEmpty() && !qEnvironmentVariableIsSet("MLT_TESTS")) {
// Cannot find the MLT melt renderer, ask for location // Cannot find the MLT melt renderer, ask for location
QScopedPointer<KUrlRequesterDialog> getUrl( QScopedPointer<KUrlRequesterDialog> getUrl(
new KUrlRequesterDialog(QUrl(), i18n("Cannot find the melt program required for rendering (part of MLT)"), pCore->window())); new KUrlRequesterDialog(QUrl(), i18n("Cannot find the melt program required for rendering (part of MLT)"), pCore->window()));
......
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