Fix QWindow::startSystemResize() on Windows
Flip broken check for Qt::MSWindowsFixedSizeDialogHint.
Amends a611c632bb.
Fixes: QTBUG-82191
Change-Id: Iada62271a2084d7482b634189f77e520dfcbe817
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
bb10
parent
6d64613d99
commit
f9781514d5
|
|
@ -2629,7 +2629,7 @@ static inline DWORD edgesToWinOrientation(Qt::Edges edges)
|
|||
|
||||
bool QWindowsWindow::startSystemResize(Qt::Edges edges)
|
||||
{
|
||||
if (Q_UNLIKELY(!(window()->flags() & Qt::MSWindowsFixedSizeDialogHint)))
|
||||
if (Q_UNLIKELY(window()->flags().testFlag(Qt::MSWindowsFixedSizeDialogHint)))
|
||||
return false;
|
||||
|
||||
ReleaseCapture();
|
||||
|
|
|
|||
Loading…
Reference in New Issue