[Icon Item] Round size we want to load a pixmap in

Authored by broulik on Jan 11 2017, 9:34 AM.

Description

[Icon Item] Round size we want to load a pixmap in

QML sizes can be fractional. In case we're asked to load a 31.5 px pixmap it would truncate
it to 31 and then round down to 22 causing a blurry result. Instead, round the size.

Differential Revision: https://phabricator.kde.org/D4040

Details

Committed
broulikJan 11 2017, 9:34 AM
Differential Revision
D4040: [Icon Item] Round size we want to load a pixmap in
Parents
R242:57d58e371da0: Break from loop once we've found a Layout
Branches
Unknown
Tags
Unknown