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:
@@ -145,10 +145,6 @@ void ClangCurrentDocumentFilter::accept(Core::LocatorFilterEntry selection,
|
||||
lineColumn.column - 1);
|
||||
}
|
||||
|
||||
void ClangCurrentDocumentFilter::refresh(QFutureInterface<void> &)
|
||||
{
|
||||
}
|
||||
|
||||
void ClangCurrentDocumentFilter::reset(Core::IEditor *newCurrent, const QString &path)
|
||||
{
|
||||
m_currentEditor = newCurrent;
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
const QString &entry) override;
|
||||
void accept(Core::LocatorFilterEntry selection,
|
||||
QString *newText, int *selectionStart, int *selectionLength) const override;
|
||||
void refresh(QFutureInterface<void> &future) override;
|
||||
|
||||
private:
|
||||
void onEditorAboutToClose(Core::IEditor *editors);
|
||||
void onCurrentEditorChanged(Core::IEditor *newCurrent);
|
||||
|
||||
Reference in New Issue
Block a user