Commit 28579837 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

kolab resource: port away from deprecated QList::toSet() & unneeded conversion

mSubscribedMailboxes is a QSet<QString> already, so the code also converted
to a QList and then back to a QSet<QString> for no obvious reason.

parent 3eaf50b4
Pipeline #88830 canceled with stage
......@@ -413,7 +413,7 @@ void KolabRetrieveCollectionsTask::onMailBoxesReceiveDone(KJob *job)
// Only request metadata for subscribed Other Users Folders
const QStringList metadataMailboxes = mailboxes.unite(mSubscribedMailboxes.values().toSet()).values();
const QStringList metadataMailboxes = mailboxes.unite(mSubscribedMailboxes).values();
auto metadata = new RetrieveMetadataJob(mSession,
Supports Markdown
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