Operate on QRectF/QSizeF and only round back to integer at the end.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R296:c3e6627e598b: [QImageItem/QPixmapItem] Don't lose precision during calculation
I've always been under the impression that the previews in icons kcm were misaligned or cut off slightly.
Before
After
- Notification thumbnail strip (qpixmapitem) still works
- QR code in klipper (qimageitem) still works
Diff Detail
Diff Detail
- Repository
- R296 KDeclarative
- Lint
Lint Skipped - Unit
Unit Tests Skipped