It takes into account the dpi of the screen we're rendering to.
Other overloads assume the window is nullptr and will use the primary screen's dpi which can change almost randomly.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma Frameworks - Commits
- R242:25ce2b90dab1: Prefer QIcon::pixmap(QWindow*, ...) overload
Icons still look fine even if I drag windows from a screen to another.
Diff Detail
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 25707 Build 25725: arc lint + arc unit
Comment Actions
Yeah, size is in logical pixels. Multiplying doesn't make sense.
I'm sure more high DPI bugs are caused by clients trying to be clever.