KTp Contact runner

Martin Klapetek martin.klapetek at gmail.com
Mon Mar 12 16:50:57 UTC 2012


On Mon, Mar 12, 2012 at 15:57, Dan Vratil <dan at progdan.cz> wrote:

> On Monday 12 of March 2012 11:28:15 Martin Klapetek wrote:>
>
> 4) Avatar icon vs presence icon - I'd suggest to add the presence icon
> > somewhere else than instead of missing avatar. You could paint is an
> > overlay, but painting pixmaps over pixmaps could be expensive, so I'd
> > suggest to place it before the icons for starting chat, audio etc and
> maybe
> > visually divide these areas?
>
> As explained by David in a mail above, the presence icon when avatar is
> missing is there since the first (well, second) commit :)
>

I don't understand - David said the code should use the blue thing instead
of presence icon, which it in fact does display, but these lines:

 if (!iconFile.isEmpty() && QFile::exists(iconFile)) {
                match.setIcon(QIcon(iconFile));
            } else {
                match.setIcon(presence.icon());
            }

sets either avatar and if that does not exist, it uses presence icon, which
is not wanted and should display the blue player (how is that damn thing
called in english??).

Btw. it crashes for me, BT attached.

--
Martin Klapetek | KDE Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120312/f717e10a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krunner.crash
Type: text/x-apport
Size: 3954 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120312/f717e10a/attachment.bin>


More information about the KDE-Telepathy mailing list