diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-07-10 11:28:06 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-07-14 10:16:04 +0000 |
commit | 231aeafd1d039b3be4c94fbd9a905f1c06f9056b (patch) | |
tree | 419de557a0cad282005ba26d1134d9a0f967f621 /src/plugins/coreplugin/locator/basefilefilter.cpp | |
parent | 447f42d0e217f05c5122d3f65e0e5b8f88f55449 (diff) |
Fix that locator filters weren't accepting column numbers
There was some adaption of locator filter code missing in
44e7eca55942589e1cc3da4790bc2e38550f2791 .
Also remove some duplication of logic.
Change-Id: I0a4b0920ea57472c922f1110b51b7eb8bad509b3
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/locator/basefilefilter.cpp')
-rw-r--r-- | src/plugins/coreplugin/locator/basefilefilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/locator/basefilefilter.cpp b/src/plugins/coreplugin/locator/basefilefilter.cpp index b505ccfaad6..d7519a43f26 100644 --- a/src/plugins/coreplugin/locator/basefilefilter.cpp +++ b/src/plugins/coreplugin/locator/basefilefilter.cpp @@ -103,7 +103,7 @@ QList<LocatorFilterEntry> BaseFileFilter::matchesFor(QFutureInterface<LocatorFil QList<LocatorFilterEntry> betterEntries; QList<LocatorFilterEntry> goodEntries; QString needle = trimWildcards(QDir::fromNativeSeparators(origEntry)); - const QString lineNoSuffix = EditorManager::splitLineNumber(&needle); + const QString lineNoSuffix = EditorManager::splitLineAndColumnNumber(&needle); QStringMatcher matcher(needle, Qt::CaseInsensitive); const QChar asterisk = QLatin1Char('*'); QRegExp regexp(asterisk + needle+ asterisk, Qt::CaseInsensitive, QRegExp::Wildcard); |