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
Friedemann Kleint 2020-02-17 09:45:20 +01:00
parent 6d64613d99
commit f9781514d5
1 changed files with 1 additions and 1 deletions

View File

@ -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();