D14629: Process IMAP Quota roots with associated quotas only

Laurent Montel noreply at phabricator.kde.org
Mon Aug 6 08:42:05 BST 2018


mlaurent requested changes to this revision.
mlaurent added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> retrievecollectionmetadatatask.cpp:252
> +        // Process IMAP Quota roots with associated quotas only
> +        if (limit.count() > 0 && usage.count() > 0) {
> +            newRoots << root;

!limit.isEmpty() && !usage.isEmpty()

> retrievecollectionmetadatatask.cpp:267
> +    // If usage and limit were not set, retrieve them from the first root, if exists
> +    if ((newCurrent == -1 && newMax == -1) && newRoots.count() > 0) {
> +        newCurrent = newUsages.first()["STORAGE"] * 1024;

&& ! newRoots.isEmpty()

REPOSITORY
  R44 KDE PIM Runtime

REVISION DETAIL
  https://phabricator.kde.org/D14629

To: gkowal, #kde_pim, mlaurent
Cc: mlaurent, dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180806/8a0f3e30/attachment.html>


More information about the kde-pim mailing list