summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-08-23 20:00:03 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-08-23 21:41:11 +0200
commit611716293c80bcf5b6fcbc57b869ce2cf853add1 (patch)
treef1a589537ea23b007a06470e24807720ab533d92 /src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp
parentf4e576fbe93c155db448787315f126e8d3b3d5b5 (diff)
Explicitly define the interface versions
Currently a global is bound with the version the interface has in the xml file. This is a problem for apps that explicitly link to libwayland-client because they may link to a newer libwayland, so the version of some interface may be higher than the one that it is actually implemented. Change-Id: Id0dbe6c0f1e05fe91954b9d8d9472d42d2053cdc Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp')
-rw-r--r--src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp b/src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp
index a7269ce9e54..469f80360f3 100644
--- a/src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp
+++ b/src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration.cpp
@@ -45,7 +45,7 @@
QT_BEGIN_NAMESPACE
QWaylandHardwareIntegration::QWaylandHardwareIntegration(struct ::wl_registry *registry, int id)
- : qt_hardware_integration(registry, id)
+ : qt_hardware_integration(registry, id, 1)
{
}