Review Request 109136: Small PinnedContactsModel cleanup
Martin Klapetek
martin.klapetek at gmail.com
Mon Feb 25 08:35:35 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109136/#review27995
-----------------------------------------------------------
Ship it!
Just few coding style issues...
KTp/Declarative/pinned-contacts-model.h
<http://git.reviewboard.kde.org/r/109136/#comment20955>
const &
KTp/Declarative/pinned-contacts-model.cpp
<http://git.reviewboard.kde.org/r/109136/#comment20956>
if( -> if (
Braces around if
KTp/Declarative/pinned-contacts-model.cpp
<http://git.reviewboard.kde.org/r/109136/#comment20957>
Conversation* conv -> Conversation *conv
- Martin Klapetek
On Feb. 25, 2013, 4:28 a.m., Aleix Pol Gonzalez wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109136/
> -----------------------------------------------------------
>
> (Updated Feb. 25, 2013, 4:28 a.m.)
>
>
> Review request for Telepathy and David Edmundson.
>
>
> Description
> -------
>
> This fixes some problems in the pinned contacts model:
> - Use KTp::ContactPtr instead of Tp::ContactPtr
> - Compare contact pointers instead of id's. Don't make sure that the account is the same.
> - Add comment explaining why we need to delay the dataChanged when a conversation state changes. Also use the proper index.
>
> This was inspired in a patch by David
>
>
> Diffs
> -----
>
> KTp/Declarative/contact-pin.cpp 9ad3bcd
> KTp/Declarative/pinned-contacts-model.h 216c517
> KTp/Declarative/pinned-contacts-model.cpp 0c2607c
>
> Diff: http://git.reviewboard.kde.org/r/109136/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Aleix Pol Gonzalez
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130225/d90105fb/attachment.html>
More information about the KDE-Telepathy
mailing list