Remove unused icon field

Change-Id: I63069ef2ef5af46009fb10a346c428604818016f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2021-02-01 11:43:47 +01:00
parent 59003d4123
commit d3ffbea8a0
2 changed files with 1 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ QList<Core::LocatorFilterEntry> 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);
}

View File

@@ -31,7 +31,6 @@
#include <coreplugin/core_global.h>
#include <QIcon>
#include <QMutex>
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;