diff --git a/src/plugins/coreplugin/locator/urllocatorfilter.cpp b/src/plugins/coreplugin/locator/urllocatorfilter.cpp index 626d820855c..8041b476c25 100644 --- a/src/plugins/coreplugin/locator/urllocatorfilter.cpp +++ b/src/plugins/coreplugin/locator/urllocatorfilter.cpp @@ -151,7 +151,7 @@ QList UrlLocatorFilter::matchesFor( if (future.isCanceled()) break; const QString name = url.arg(entry); - Core::LocatorFilterEntry filterEntry(this, name, QVariant(), m_icon); + Core::LocatorFilterEntry filterEntry(this, name, QVariant()); filterEntry.highlightInfo = {int(name.lastIndexOf(entry)), int(entry.length())}; entries.append(filterEntry); } diff --git a/src/plugins/coreplugin/locator/urllocatorfilter.h b/src/plugins/coreplugin/locator/urllocatorfilter.h index e12878d0680..21c5f674cfb 100644 --- a/src/plugins/coreplugin/locator/urllocatorfilter.h +++ b/src/plugins/coreplugin/locator/urllocatorfilter.h @@ -31,7 +31,6 @@ #include -#include #include namespace Core { @@ -63,7 +62,6 @@ public: using ILocatorFilter::setDisplayName; private: - QIcon m_icon; QStringList m_remoteUrls; bool m_isCustomFilter = false; mutable QMutex m_mutex;