Docker: Fix filtering without a filter

If there is no filter accept all instead of nothing.
Fixes e.g. ABI detection on docker image running
on Windows.

Change-Id: I17588f71018952b1087b5b8f700b6c158bf5b89d
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2021-08-05 15:01:27 +02:00
parent b039013d9a
commit bf93998fb4

View File

@@ -1301,7 +1301,7 @@ static FilePaths filterEntriesHelper(const FilePath &base,
if (match.hasMatch())
return true;
}
return false;
return nameRegexps.isEmpty();
};
// FIXME: Handle sort and filters. For now bark on unsupported options.