fix maximize -> fullscreen -> maximize on Windows
authorJoerg Bornemann <joerg.bornemann@nokia.com>
Mon, 6 Aug 2012 08:20:48 +0000 (10:20 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Aug 2012 14:04:19 +0000 (16:04 +0200)
commitb170668bb88c076ddb5839c32f7bb947a1fbec96
treee8e771ca2383b06d4f38acda59774a8e68a9a057
parentba2c77f21a6a82f34c6267e48a6feb366624ddf9
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>
src/plugins/platforms/windows/qwindowswindow.cpp