D26490: [KMessageWidget] Use devicePixelRatioF for animation pixmap
Kai Uwe Broulik
noreply at phabricator.kde.org
Tue Jan 7 11:24:36 GMT 2020
broulik created this revision.
broulik added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
broulik requested review of this revision.
REVISION SUMMARY
Ensures contents stay crisp during the animation by setting the correct fractional device pixel ratio.
BUG: 415528
TEST PLAN
Ran `QT_SCREEN_SCALE_FACTORS=1.5 kmessagewidgettest`
Before
F7867018: Screenshot_20200107_122221.png <https://phabricator.kde.org/F7867018>
After
F7867019: Screenshot_20200107_122237.png <https://phabricator.kde.org/F7867019>
REPOSITORY
R236 KWidgetsAddons
REVISION DETAIL
https://phabricator.kde.org/D26490
AFFECTED FILES
src/kmessagewidget.cpp
To: broulik, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200107/8d5bfa4d/attachment.html>
More information about the Kde-frameworks-devel
mailing list