forked from qt-creator/qt-creator
LocatorFilter: Introduce LocatorMatcherTasks
Change-Id: I775c88b8ac7d7bb0719a6b20d1e5171dbd62a94d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -209,7 +209,7 @@ ClangModelManagerSupport::ClangModelManagerSupport()
|
||||
using WorkspaceMatcherCreator = std::function<Core::LocatorMatcherTask(Client *, int)>;
|
||||
const auto matcherCreator = [](const WorkspaceMatcherCreator &creator) {
|
||||
const QList<Client *> clients = clientsForOpenProjects();
|
||||
QList<LocatorMatcherTask> matchers;
|
||||
LocatorMatcherTasks matchers;
|
||||
for (Client *client : clients)
|
||||
matchers << creator(client, 10000);
|
||||
return matchers;
|
||||
|
||||
Reference in New Issue
Block a user