Commit db856a5c authored by Vincent Pinon's avatar Vincent Pinon

Windows: find Kdenlive lumas

BUG: 375337
parent d6cea2ef
......@@ -627,7 +627,11 @@ QString DocumentChecker::searchLuma(const QDir &dir, const QString &file) const
}
// try to find luma in application path
searchPath.setPath(QCoreApplication::applicationDirPath());
#ifdef Q_OS_WIN
searchPath.cd(QStringLiteral("data/lumas"));
#else
searchPath.cd(QStringLiteral("../share/apps/kdenlive/lumas"));
#endif
result.setFile(searchPath, fname);
if (result.exists()) {
return result.filePath();
......
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