Skip to content

qmirclientwindow: do follow scaling for sizing constraint

QWindow::minimumSize(), maximumSize(), and sizeIncrement() return values in device-independent pixels. Use the function from QPlatformWindow that returns native (i.e. post-scaling) pixels when available, and do QHighDpi scaling where not.

Don't do any of the mentioned in the path of construction of QMirClient- Window, because we're a QPlatformWindow itself.

Fixes: ubports/development/apps/lomiri-clock-app#185 (closed)

Merge request reports