QNX: Allow app to run when spurious 2nd screen is reported
authorSean Harmer <sean.harmer.qnx@kdab.com>
Thu, 16 Aug 2012 10:21:06 +0000 (11:21 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Aug 2012 10:23:43 +0000 (12:23 +0200)
commitc7b6a666a8b91144211fa4f160908c3f0be8e17e
treeb90c45a5823c43d9fb9296b10656156f31537cc9
parent525ec093b4c74b9e04ee35135975cf61e32c73fd
QNX: Allow app to run when spurious 2nd screen is reported

On the PlayBook, libscreen always seems to report the presence of a 2nd
display even when none is connected. This of course leads to the failure
to query this display for its physical size.

This patch relaxes the demand for a physical size to being for the
primary screen only.

Change-Id: If30b1fd704e7a194a426a0a9f0b85557478105f7
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/plugins/platforms/qnx/qqnxscreen.cpp