Locator: Do not use object pool for some filters and LocatorManager

Also bundle lifetime management into one object.
Also minor interfact cleanup.

Change-Id: I60eec84b0b28a20ce353fcdbfdff1c4848686ba0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2018-01-26 11:56:59 +01:00
parent c7e4eee345
commit 53d14fbb48
6 changed files with 31 additions and 60 deletions

View File

@@ -160,7 +160,7 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
SaveFile::initializeUmask();
Find::initialize();
m_locator->initialize(this, arguments, errorMessage);
m_locator->initialize();
MacroExpander *expander = Utils::globalMacroExpander();
expander->registerVariable("CurrentDate:ISO", tr("The current date (ISO)."),