Make QWindow respect minimumSize again on Windows
Commit 6336b535 accidentally removed a call to applyToMinMaxInfo(). Add it back. Task-number: QTBUG-96441 Pick-to: 6.2.0 6.2 Change-Id: I26a5d121ed3b4cd9e49e3dd8b371abe71d9a482c Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
28157cf24e
commit
67b2c84992
@ -2695,6 +2695,8 @@ static int getBorderWidth(const QPlatformScreen *screen)
|
|||||||
|
|
||||||
void QWindowsWindow::getSizeHints(MINMAXINFO *mmi) const
|
void QWindowsWindow::getSizeHints(MINMAXINFO *mmi) const
|
||||||
{
|
{
|
||||||
|
QWindowsGeometryHint::applyToMinMaxInfo(window(), fullFrameMargins(), mmi);
|
||||||
|
|
||||||
// This block fixes QTBUG-8361, QTBUG-4362: Frameless/title-less windows shouldn't cover the
|
// This block fixes QTBUG-8361, QTBUG-4362: Frameless/title-less windows shouldn't cover the
|
||||||
// taskbar when maximized
|
// taskbar when maximized
|
||||||
if ((testFlag(WithinMaximize) || window()->windowStates().testFlag(Qt::WindowMinimized))
|
if ((testFlag(WithinMaximize) || window()->windowStates().testFlag(Qt::WindowMinimized))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user