QNX: Fix one more code path that led to having no QScreens.

Qt dereferences QGuiApplication::primaryScreen() inside,
for example, QColormapPrivate::initialize().

libscreen always returns at least one display, even it it's
not connected, so lets not ignore it if it's primary.

Change-Id: I2f14a187c979ca0c7ad39149ceb0b2b7e61e9ba6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
bb10
Sergio Martins 2013-01-31 19:08:12 +00:00 committed by The Qt Project
parent 85b2ba2a92
commit 7829c477a9

Diff Content Not Available