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:
Jarek Kobus
2023-04-24 18:21:14 +02:00
parent 2628e0f82f
commit 24664515f1
10 changed files with 9 additions and 226 deletions

View File

@@ -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;
}