summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcursor.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-03-20 23:30:42 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2017-03-21 07:08:47 +0000
commit464c0a5824191a33318a5d09f0fb7a8b9c645eb1 (patch)
tree4929cd1c5f9bca9f390cab1823f78b8704405ff5 /src/gui/kernel/qcursor.cpp
parent5707528be0eb10d7498e9f2b4523ac9a11f92527 (diff)
Windows QPA: Fix MinGW developer build
Fix warning: qwindowswindow.cpp: In member function 'void QWindowsWindow::setWindowState_sys(Qt::WindowStates)': qwindowswindow.cpp:1965:74: error: suggest parentheses around arithmetic in operand of '^' [-Werror=parentheses] if ((newState & Qt::WindowMinimized) && (oldState ^ newState & Qt::WindowMaximized)) This is actually a real bug. What was meant was to check if the Maximized flag was changed. This code path is for the case in which the windows becomes minimized, and the maximized state changed. Amends change a02959bb5b43a3f9d881e5213ceedf535202b6a1. Task-number: QTBUG-57882 Change-Id: I1cd32a7080240e4462d3cd4f129c6c1a08409996 Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Diffstat (limited to 'src/gui/kernel/qcursor.cpp')
0 files changed, 0 insertions, 0 deletions