Review Request: Show a default icon in the text-ui when there is no avatar

Florian Reinhard florian.reinhard at googlemail.com
Wed Mar 16 10:46:02 CET 2011



> On March 16, 2011, 2:49 a.m., David Edmundson wrote:
> > lib/adium-theme-view.cpp, line 49
> > <http://git.reviewboard.kde.org/r/100866/diff/2/?file=11456#file11456line49>
> >
> >     Why is there a - sign to the left of KIconLoader::SizeLarge ?

because i spent more than an hour with "why does iconPath return an empty string" and then found this in the docs of KIconLoader:


QString KIconLoader::iconPath (const QString & name,
int 	group_or_size,
bool 	canReturnNull = false	 
)

group_or_size 	If positive, search icons whose size is specified by the icon group group_or_size. If negative, search icons whose size is - group_or_size. See KIconLoader::Group and KIconLoader::StdSizes


- Florian


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100866/#review1988
-----------------------------------------------------------


On March 16, 2011, 12:36 a.m., Florian Reinhard wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100866/
> -----------------------------------------------------------
> 
> (Updated March 16, 2011, 12:36 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Summary
> -------
> 
> Show a default icon (im-user.png) in the text-ui when there is no avatar.
> 
> 
> This addresses bug 268547.
>     http://bugs.kde.org/show_bug.cgi?id=268547
> 
> 
> Diffs
> -----
> 
>   lib/adium-theme-view.h b98409958af9a59e29e30d478b80ec548c8fad5a 
>   lib/adium-theme-view.cpp 1eefafb5e64f31f75b21568d8924a6398dcafd25 
> 
> Diff: http://git.reviewboard.kde.org/r/100866/diff
> 
> 
> Testing
> -------
> 
> started a conversation, both icons for received and sent messages are shown.
> 
> 
> Thanks,
> 
> Florian
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-telepathy/attachments/20110316/b21b8049/attachment.htm 


More information about the KDE-Telepathy mailing list