D20497: Add email type and preference API

Daniel Vrátil noreply at phabricator.kde.org
Sun Apr 14 11:19:59 BST 2019


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

INLINE COMMENTS

> email.cpp:151
> +    for (const auto &s : it.value()) {
> +        const auto it = std::find_if(std::begin(email_type_names), std::end(email_type_names), [s](const email_type_name &t) {
> +            return QLatin1String(t.name) == s;

`std::none_of`  instead of  `std::find_if == end`?

REPOSITORY
  R174 PIM: KContacts

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

To: vkrause, dvratil
Cc: dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190414/6f8229a6/attachment.html>


More information about the kde-pim mailing list