forked from qt-creator/qt-creator
Remove unused icon field
Change-Id: I63069ef2ef5af46009fb10a346c428604818016f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user