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())
|
if (future.isCanceled())
|
||||||
break;
|
break;
|
||||||
const QString name = url.arg(entry);
|
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())};
|
filterEntry.highlightInfo = {int(name.lastIndexOf(entry)), int(entry.length())};
|
||||||
entries.append(filterEntry);
|
entries.append(filterEntry);
|
||||||
}
|
}
|
||||||
|
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <coreplugin/core_global.h>
|
#include <coreplugin/core_global.h>
|
||||||
|
|
||||||
#include <QIcon>
|
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
@@ -63,7 +62,6 @@ public:
|
|||||||
using ILocatorFilter::setDisplayName;
|
using ILocatorFilter::setDisplayName;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QIcon m_icon;
|
|
||||||
QStringList m_remoteUrls;
|
QStringList m_remoteUrls;
|
||||||
bool m_isCustomFilter = false;
|
bool m_isCustomFilter = false;
|
||||||
mutable QMutex m_mutex;
|
mutable QMutex m_mutex;
|
||||||
|
Reference in New Issue
Block a user