QNX: Take orientation into account when reporting physical size
authorSean Harmer <sean.harmer.qnx@kdab.com>
Mon, 21 May 2012 10:49:54 +0000 (11:49 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 14:02:06 +0000 (16:02 +0200)
commit0b97f5553097f296e1de3ac88921dbba140ae0d5
treef5f62d139dcc0d9e6f4b1928951f31a73c17f1f0
parent9be17aa4686e208fe03debd2595d6da86b42aef8
QNX: Take orientation into account when reporting physical size

Previously landscape orientation was assumed in the QQnxScreen ctor. We
now calculate the initial physical dimensions correctly.

Change-Id: I6c434eaba1f931c769f343671fb80052287b51e5
Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/plugins/platforms/qnx/qqnxscreen.cpp