D14222: [KItemListSelectionToggle] Adjust painting icon for high dpi scaling
Kai Uwe Broulik
noreply at phabricator.kde.org
Thu Jul 19 07:32:07 BST 2018
broulik created this revision.
broulik added reviewers: Dolphin, davidedmundson, ngraham.
Restricted Application added a project: Dolphin.
Restricted Application added a subscriber: kfm-devel.
broulik requested review of this revision.
REVISION SUMMARY
Instead of using `KIconLoader` which currently doesn't support high dpi scaling, use `QIcon::fromTheme` which can.
TEST PLAN
Before
F6119056: Screenshot_20180719_082717.png <https://phabricator.kde.org/F6119056>
After
F6119057: Screenshot_20180719_082927.png <https://phabricator.kde.org/F6119057>
Verified it still works fine with 1x scaling
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D14222
AFFECTED FILES
src/kitemviews/private/kitemlistselectiontoggle.cpp
To: broulik, #dolphin, davidedmundson, ngraham
Cc: kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180719/9c7e94f6/attachment.htm>
More information about the kfm-devel
mailing list