D14308: [Exe Thumbnailer] Improve icon selection algorithm

Anthony Fieroni noreply at phabricator.kde.org
Mon Jul 30 17:03:18 BST 2018


anthonyfieroni added inline comments.

INLINE COMMENTS

> icoutils_common.cpp:33
> +    qreal delta = width - desiredWidth;
> +    delta = (delta >= 0.0 ? delta : -delta * 2 ); // Penalize for scaling up
> +

It should be qFuzzyIsNull no?

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D14308

To: broulik, #frameworks, dfaure, ngraham, pali, vonreth, antlarr
Cc: anthonyfieroni, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180730/34527257/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list