[Bug 43223] Resolve API/ABI break TODO issues before 0.9.0 (qt4/qt5) release
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 25 16:07:59 CET 2011
https://bugs.freedesktop.org/show_bug.cgi?id=43223
--- Comment #3 from Andre Moreira Magalhaes <andrunko at gmail.com> 2011-11-25 07:07:59 PST ---
(In reply to comment #2)
> AbstractClient::AbstractClient()
> + : mPriv(new Private())
> {
> }
>
> I see no corresponding delete, so this is leaked. AbstractClient dtor?
Done.
> > Channel: Add includeSelfContact param to groupSelfContact and groupLocal/RemotePendingContacts.
>
> Commit message clearly refers wrongly to groupSelfContact(). Also, docs missing
> for the includeSelfContact params.
>
> + if (!includeSelfContact) {
> + return mPriv->groupRemotePendingContacts.values().toSet() - Contacts()
> << groupSelfContact();
> + }
> return mPriv->groupRemotePendingContacts.values().toSet();
>
> Something like
>
> Contacts c = mPriv->whicheverContactsYoureReturning.values().toSet();
> if (!includeSelfContact) {
> c.remove(groupSelfContact());
> }
> return c;
>
> would be both cleaner (no duplicate mention of the source container) and faster
> (no singleton set created and trivially iterated for the self contact).
Done.
> Otherwise looks good to me. I didn't look in Jeremy's big patches in detail,
> just an overview; I trust you've already done that when inheriting the work.
I did :)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list