Group :: Vídeo
RPM: kdenlive
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: alt-find-lumas.patch
Download
Download
--- a/src/effectslist/initeffects.cpp
+++ b/src/effectslist/initeffects.cpp
@@ -50,6 +50,7 @@ void initEffects::refreshLumas()
MainWindow::m_lumaFiles.clear();
fileFilters << QStringLiteral("*.png") << QStringLiteral("*.pgm");
QStringList customLumas = QStandardPaths::locateAll(QStandardPaths::DataLocation, QStringLiteral("lumas"), QStandardPaths::LocateDirectory);
+ customLumas.append(QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kdenlive/lumas"), QStandardPaths::LocateDirectory));
customLumas.append(QString(mlt_environment("MLT_DATA")) + "/lumas");
foreach(const QString &folder, customLumas) {
QDir topDir(folder);
--- a/src/project/dialogs/slideshowclip.cpp
+++ b/src/project/dialogs/slideshowclip.cpp
@@ -122,6 +122,7 @@ SlideshowClip::SlideshowClip(const Timec
filters << QStringLiteral("*.pgm") << QStringLiteral("*.png");
QStringList customLumas = QStandardPaths::locateAll(QStandardPaths::DataLocation, QStringLiteral("lumas"), QStandardPaths::LocateDirectory);
+ customLumas.append(QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QLatin1Literal("kdenlive/lumas"), QStandardPaths::LocateDirectory));
foreach(const QString & folder, customLumas) {
QDir directory(folder);
QStringList filesnames = directory.entryList(filters, QDir::Files);