[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kaddressbook] [Bug 357374] Huge Skype and Google Talk icons in Contacts panel view
From:       Jonathan Marten via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-01-06 19:35:07
Message-ID: bug-357374-17878-mHJVxf9o47 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=357374

Jonathan Marten <jjm@keelhaul.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jjm@keelhaul.me.uk

--- Comment #4 from Jonathan Marten <jjm@keelhaul.me.uk> ---
Think I implemented the display of these icons, 2 years ago for KDE4.  Assuming
that the code is mostly unchanged, it does:

const QString iconUrl = KUrl::fromPath( KIconLoader::global()->iconPath(
      IMProtocols::self()->icon( typeKey ), -KIconLoader::SizeSmall) ).url();
const QString url = QString::fromLatin1( "<img src=\"%1\" align=\"top\"/>"
).arg( iconUrl );

It tries to force the appropriate small size, but it's not certain what happens
if there is no icon of that size available, only larger ones - if the returned
path points to a larger icon then that is what will be seen.  If so, would
setting an explicit width= and height= in the HTML fragment work?

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic