Commit 24249090 authored by hjk's avatar hjk

Locator: Fix broken connection after df361843

Change-Id: I51333ce8717ba0f393987c91521fdbd63ea63929
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent da4c4b80
......@@ -260,8 +260,9 @@ void LocatorPlugin::refresh(QList<ILocatorFilter *> filters)
if (filters.isEmpty())
filters = m_filters;
QFuture<void> task = QtConcurrent::run(&ILocatorFilter::refresh, filters);
ProgressManager::addTask(task, tr("Indexing"), QLatin1String(Locator::Constants::TASK_INDEX));
connect(ProgressManager::instance(), SIGNAL(finished()), this, SLOT(saveSettings()));
FutureProgress *progress =
ProgressManager::addTask(task, tr("Indexing"), QLatin1String(Locator::Constants::TASK_INDEX));
connect(progress, SIGNAL(finished()), this, SLOT(saveSettings()));
}
Q_EXPORT_PLUGIN(LocatorPlugin)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment