Commit d136fca9 authored by Alexander Stukowski's avatar Alexander Stukowski

File globbing now finds hidden files. Fixes issue #98

parent 7a8a9db6
Pipeline #23074333 failed with stage
......@@ -372,7 +372,7 @@ Future<std::vector<QUrl>> FileSourceImporter::findWildcardMatches(const QUrl& so
isLocalPath = true;
directory = QFileInfo(sourceUrl.toLocalFile()).dir();
for(const QString& filename : directory.entryList(QDir::Files|QDir::NoDotAndDotDot, QDir::Name)) {
for(const QString& filename : directory.entryList(QDir::Files|QDir::NoDotAndDotDot|QDir::Hidden, QDir::Name)) {
if(matchesWildcardPattern(pattern, filename))
entries << filename;
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