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

Friedrich W. H. Kossebau <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Friedrich W. H. Kossebau <[email protected]> ---
(In reply to David Edmundson from comment #1)
> Given you load them as pixmaps manually from a filename if someone shipped
> .pngs called
> [email protected] it will load it automatically and set the right
> devicePixelRatio

Neat, learned something new, was not aware of that QImageReader feature :)
Though in Konversation case some pixmap overlay work is done, like putting the
away or operator state pixmap on top of the user icon, so we need to replicate
such loading behaviour to also pick up @2x variant files ourselves.

https://invent.kde.org/network/konversation/-/merge_requests/8 would be a first
approach to the problem:

it extends the current support to alternatively to PNG icons load and use SVG
icons, if files are found with the SVG suffix.

And for the PNG icons it checks for the presence of "@2x" PNG files and if
present loads them to create and add alternative hidpi pixmaps to the QIcons
used in the nick list.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to