Review Request 128722: [WIP] [kdepim-apps-libs] Set all blacklisted keys to its upper case version
Daniel Vrátil
dvratil at kde.org
Mon Aug 22 10:22:59 BST 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128722/#review98547
-----------------------------------------------------------
As you mentioned in https://git.reviewboard.kde.org/r/128724/, the RFC dictates that the comparision should be case-insensitive. In other words, this won't work with data from other (or older) clients which generate lower-case strings. You should thus do a case-insensitive lookup. QSet does not have any such API, but you can use std::find_if with custom predicate using QString::compare.
- Daniel Vrátil
On Aug. 20, 2016, 8:59 p.m., Bernhard Scheirle wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128722/
> -----------------------------------------------------------
>
> (Updated Aug. 20, 2016, 8:59 p.m.)
>
>
> Review request for KDEPIM and Laurent Montel.
>
>
> Bugs: 317966
> https://bugs.kde.org/show_bug.cgi?id=317966
>
>
> Repository: kdepim-apps-libs
>
>
> Description
> -------
>
> Set all blacklisted keys to its upper case version. This is needed since all KContacts::Addressee custom fields are now upper case.
> Please also see the review request for KContacts: https://git.reviewboard.kde.org/r/128724
>
>
> Diffs
> -----
>
> kaddressbookgrantlee/src/formatter/grantleecontactformatter.cpp c626aa7
>
> Diff: https://git.reviewboard.kde.org/r/128722/diff/
>
>
> Testing
> -------
>
> ctest passes.
>
>
> Thanks,
>
> Bernhard Scheirle
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20160822/aae03982/attachment.html>
More information about the kde-pim
mailing list