Core: Fix filesystemfilter expression

Amends fc53dc27e4

Change-Id: If7eac3f544ec7145889bb38b85f3d25730eca9ff
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2021-05-27 08:43:33 +02:00
parent 03b7324325
commit a84ca65995

View File

@@ -130,7 +130,7 @@ QList<LocatorFilterEntry> FileSystemFilter::matchesFor(QFutureInterface<LocatorF
}
// file names can match with +linenumber or :linenumber
QString postfix;
Link link = Link::fromString(entry, true, &postfix);
Link link = Link::fromString(entryFileName, true, &postfix);
regExp = createRegExp(link.targetFilePath.toString(), caseSensitivity_);
if (!regExp.isValid())
return {};