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

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

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

--- Comment #4 from Jonathan Marten <j...@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.

Reply via email to