Use SpecialMailCollections to find out the imap trash folders.
commitfa827dd2758aa3a07b6cb616fe4d76c9c2f8b41d
authorDavid Faure <faure@kde.org>
Sun, 3 Mar 2013 11:02:37 +0000 (3 12:02 +0100)
committerDavid Faure <faure@kde.org>
Wed, 6 Mar 2013 17:17:38 +0000 (6 18:17 +0100)
treeea98f37b70c751d1d7d15fcb1938ed3e6f69914a
parent41cd09120d7aa3293d17b5f36f0cd7b097502f96
Use SpecialMailCollections to find out the imap trash folders.

Much faster than making DBus calls... in a method that is called in
MailCommon::EntityCollectionOrderProxyModel::lessThan!

Trigger SpecialMailCollectionsDiscoveryJob on startup, so that the non-default
trash collections are known to SpecialMailCollections.
mailcommon/mailkernel.cpp