Commit 85af02fa authored by Laurent Montel's avatar Laurent Montel 😁

Add info when specific collection is indexed

parent e8e0f1a6
......@@ -237,7 +237,9 @@ void Scheduler::slotIndexingFinished(KJob *job)
if (job->error()) {
qCWarning(AKONADI_INDEXER_AGENT_LOG) << "Indexing failed: " << job->errorString();
} else {
m_dirtyCollections.remove(job->property("collection").value<Akonadi::Collection::Id>());
const Akonadi::Collection::Id collectionId = job->property("collection").value<Akonadi::Collection::Id>();
m_dirtyCollections.remove(collectionId);
status(Akonadi::AgentBase::Idle, i18n("Collection \"%1\" indexed", collectionId));
}
m_currentJob = 0;
m_processTimer.start();
......
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