Commit f5bdd92e authored by Morten Johan Sørvig's avatar Morten Johan Sørvig
Browse files

Move min/max size constrain logic to QPlatformWindow.


This increases the uniformity of the to/fromNativePixels
functions by removing a special case, and avoids pulling
the qwindow_p.h details into qhihgdpiscaling.cpp.

Keep the logic of constraining the device-independent
size.

Change-Id: Id0dae30a7c0170ff2e5d21b94d56719cc900c726
Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@theqtcompany.com>
No related merge requests found
Showing with 11 additions and 17 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment