From 129fc0583fefe9966bc5e454156e3371493cfd1a Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Thu, 6 Apr 2023 17:30:51 +0200 Subject: [PATCH] ILocatorFilter: Move allLocatorFilters() into private section This shouldn't be used outside of locator scope. For other usages that could reuse some filter's implementation use LocatorMatcher with shared list of LocatorMatcherTask. Change-Id: I63a62c79b38985e24835fecd38d016dfb164a16e Reviewed-by: Christian Kandeler Reviewed-by: Qt CI Bot Reviewed-by: Eike Ziller Reviewed-by: --- src/plugins/coreplugin/locator/ilocatorfilter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/coreplugin/locator/ilocatorfilter.h b/src/plugins/coreplugin/locator/ilocatorfilter.h index bcc413905f7..bf94650443d 100644 --- a/src/plugins/coreplugin/locator/ilocatorfilter.h +++ b/src/plugins/coreplugin/locator/ilocatorfilter.h @@ -201,8 +201,6 @@ public: ILocatorFilter(QObject *parent = nullptr); ~ILocatorFilter() override; - static const QList allLocatorFilters(); - Utils::Id id() const; Utils::Id actionId() const; @@ -281,6 +279,7 @@ protected: private: friend class Internal::Locator; + static const QList allLocatorFilters(); Utils::Id m_id; QString m_shortcut;