Commit 4391f8ec authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated QSet::toList method

parent 19e35acf
......@@ -54,7 +54,7 @@ public:
const Akonadi::Collection & /* to */) override {}
void remove(const Akonadi::Collection & /* col */) override {}
void remove(const QSet<Akonadi::Item::Id> &ids, const QStringList & /* mimeTypes */) override {
itemsRemoved += ids.toList();
itemsRemoved += ids.values();
}
void remove(const Akonadi::Item::List & /* items */) override {}
void removeDatabase() override {}
......
......@@ -121,7 +121,7 @@ void Scheduler::collectDirtyCollections()
}
}
qCDebug(AKONADI_INDEXER_AGENT_LOG) << m_dirtyCollections;
cfg.writeEntry("dirtyCollections", m_dirtyCollections.toList());
cfg.writeEntry("dirtyCollections", m_dirtyCollections.values());
cfg.sync();
}
......
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