forked from qt-creator/qt-creator
Provide empty implementation for ILocatorFilter::refresh()
Make this method just virtual, not a pure virtual. Remove all empty reimplementations of this method. Change-Id: Idf10e492355e8519172facd421ea0b2b13ce3b80 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -102,11 +102,6 @@ QList<Core::LocatorFilterEntry> CMakeTargetLocatorFilter::matchesFor(QFutureInte
|
||||
return m_result;
|
||||
}
|
||||
|
||||
void CMakeTargetLocatorFilter::refresh(QFutureInterface<void> &future)
|
||||
{
|
||||
Q_UNUSED(future)
|
||||
}
|
||||
|
||||
void CMakeTargetLocatorFilter::projectListUpdated()
|
||||
{
|
||||
// Enable the filter if there's at least one CMake project
|
||||
|
||||
@@ -40,7 +40,6 @@ public:
|
||||
void prepareSearch(const QString &entry) override;
|
||||
QList<Core::LocatorFilterEntry> matchesFor(QFutureInterface<Core::LocatorFilterEntry> &future,
|
||||
const QString &entry) final;
|
||||
void refresh(QFutureInterface<void> &future) final;
|
||||
|
||||
private:
|
||||
void projectListUpdated();
|
||||
|
||||
Reference in New Issue
Block a user