D9814: [KIconLoader] Take into account devicePixelRatio for overlays

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jan 11 11:05:44 UTC 2018


broulik created this revision.
broulik added reviewers: Frameworks, davidedmundson.
Restricted Application added a project: Frameworks.
broulik requested review of this revision.

REVISION SUMMARY
  Keeps them from being painted outside view and scales them with the image they're supposed to be painted on.

TEST PLAN
  Originally posted as https://git.reviewboard.kde.org/r/129083/
  
  The network share overlay issue I mentioned in https://git.reviewboard.kde.org/r/129084/ is moot as it's just KFileItem using a wrong (as in non emblem) icon for that
  
  @emmanuelp suggested changing int to real and use QPointF but you cannot have half pixels, so I didn't update the patch

REPOSITORY
  R302 KIconThemes

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

AFFECTED FILES
  src/kiconloader.cpp

To: broulik, #frameworks, davidedmundson
Cc: emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180111/5cfe4c15/attachment.html>


More information about the Kde-frameworks-devel mailing list