fix maximize -> fullscreen -> maximize on Windows
Using a reference changes the value of oldState within this function, which is undesired. Change-Id: I9fb66e488015d6b3e586ffa2f0b05a40c095e16b Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
parent
ba2c77f21a
commit
b170668bb8
@ -1203,7 +1203,7 @@ bool QWindowsWindow::isFullScreen_sys() const
|
||||
|
||||
void QWindowsWindow::setWindowState_sys(Qt::WindowState newState)
|
||||
{
|
||||
const Qt::WindowState &oldState = m_windowState;
|
||||
const Qt::WindowState oldState = m_windowState;
|
||||
if (oldState == newState)
|
||||
return;
|
||||
if (QWindowsContext::verboseWindows)
|
||||
|
Loading…
Reference in New Issue
Block a user