Commit 8df0d147 authored by Julius Künzel's avatar Julius Künzel Committed by Jean-Baptiste Mardelle
Browse files

Search recursive for luma files to find lumas installed with KNewStuff

Fixes #902

Signed-off-by: Julius Künzel's avatarJulius Künzel <jk.kdedev@smartlab.uber.space>
parent 667b3215
Pipeline #46871 passed with stage
in 10 minutes and 31 seconds
......@@ -235,7 +235,11 @@ void MltConnection::refreshLumas()
} else {
format = f;
}
QStringList filesnames = dir.entryList(fileFilters, QDir::Files);
QStringList filesnames;
QDirIterator it(dir.absolutePath(), fileFilters, QDir::Files, QDirIterator::Subdirectories);
while (it.hasNext()) {
filesnames.append(it.next());
}
if (MainWindow::m_lumaFiles.contains(format)) {
imagefiles = MainWindow::m_lumaFiles.value(format);
}
......
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