forked from qt-creator/qt-creator
LocatorWidget: Dismantle the old matchesFor implementation
Stop using it internally. Make ILocatorFilter::matchesFor() temporarily implemented by default so that the reimplementations in subclasses may be removed without leaving them abstract. Change-Id: I0c5d4ff70145a37d29385ee58a051c9c5ddfab8e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "designmode.h"
|
||||
#include "editmode.h"
|
||||
#include "foldernavigationwidget.h"
|
||||
#include "helpmanager.h"
|
||||
#include "icore.h"
|
||||
#include "idocument.h"
|
||||
#include "iwizardfactory.h"
|
||||
@@ -472,8 +471,7 @@ QString CorePlugin::msgCrashpadInformation()
|
||||
ExtensionSystem::IPlugin::ShutdownFlag CorePlugin::aboutToShutdown()
|
||||
{
|
||||
Find::aboutToShutdown();
|
||||
ExtensionSystem::IPlugin::ShutdownFlag shutdownFlag = m_locator->aboutToShutdown(
|
||||
[this] { emit asynchronousShutdownFinished(); });
|
||||
m_locator->aboutToShutdown();
|
||||
m_mainWindow->aboutToShutdown();
|
||||
return shutdownFlag;
|
||||
return SynchronousShutdown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user