Need to check new rotation against initial rotation instead of current
authorKevin Krammer <kevin.krammer.qnx@kdab.com>
Wed, 21 Mar 2012 12:01:55 +0000 (13:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Mar 2012 11:37:25 +0000 (12:37 +0100)
commitf900da75823f4cafb4fe3b4bc3d00d5b0abd62b6
tree208e40b617196b0497bc0ca966e024d3d2612689
parent3f3dd8f1d3219b63582986996cd01e8bb6effc9c
Need to check new rotation against initial rotation instead of current

Only swap width/height of initial geometry if orthogonal to initial
rotation not orthogonal to current rotation

Change-Id: I825954e98dee6c0d07a284307dfb8e1f9fd538e6
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Sean Harmer <sh@theharmers.co.uk>
src/plugins/platforms/qnx/qqnxscreen.cpp