From d3ffbea8a012c44294fc4b01a6ce9a3e7920c8f1 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 1 Feb 2021 11:43:47 +0100 Subject: [PATCH] Remove unused icon field Change-Id: I63069ef2ef5af46009fb10a346c428604818016f Reviewed-by: Eike Ziller --- src/plugins/coreplugin/locator/urllocatorfilter.cpp | 2 +- src/plugins/coreplugin/locator/urllocatorfilter.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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;