summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfshooks.cpp
diff options
context:
space:
mode:
authorRolland Dudemaine <rolland@ghs.com>2016-03-11 15:05:56 +0100
committerRolland Dudemaine <rolland@ghs.com>2016-04-13 08:14:40 +0000
commit9b35b0e8dc6069aed563d0aca61c973eb307d772 (patch)
tree91424c7b5d705677945b7a2e408c979df389477d /src/plugins/platforms/eglfs/qeglfshooks.cpp
parent2687eb5a8c1495413dabb38750f0b6e8d93771e2 (diff)
Make the eglfs and eglfs-viv detection and build work for INTEGRITY.
The majority of these changes is about #ifdef-ing the Linux-specific use of /dev/fb0. The display handle is also acquired using fbGetDisplay(), which is equivalent to fbGetDisplayByIndex(0) but is also portable. Change-Id: I6f460edc9c06ae7461a6aab2a816ac6f645208c4 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfshooks.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfshooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfshooks.cpp b/src/plugins/platforms/eglfs/qeglfshooks.cpp
index 1cdbb1dd39..87285428df 100644
--- a/src/plugins/platforms/eglfs/qeglfshooks.cpp
+++ b/src/plugins/platforms/eglfs/qeglfshooks.cpp
@@ -66,7 +66,7 @@ private:
Q_GLOBAL_STATIC(DeviceIntegration, deviceIntegration)
-DeviceIntegration::DeviceIntegration()
+DeviceIntegration::DeviceIntegration() : m_integration(0)
{
QStringList pluginKeys = QEGLDeviceIntegrationFactory::keys();
if (!pluginKeys.isEmpty()) {