summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandscreen.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2014-08-17 16:08:45 +0200
committerRobin Burchell <robin.burchell@viroteck.net>2014-08-18 13:52:36 +0200
commita4cae6f7629d263265f79b8c5819d9ed576e62af (patch)
tree02742770ded5cc89235d757efde766267eeb18b9 /src/client/qwaylandscreen.cpp
parentab8d90a16f3d8e2e4c249c8e1bf5b8a2dd79a8cc (diff)
QWaylandScreen: Also call QPlatformScreen constructor.
Change-Id: Iae63ea5b15f2422ea28f2f9c8d7abeb30d23c86f Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Diffstat (limited to 'src/client/qwaylandscreen.cpp')
-rw-r--r--src/client/qwaylandscreen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/qwaylandscreen.cpp b/src/client/qwaylandscreen.cpp
index 3432f2475..fde5751dc 100644
--- a/src/client/qwaylandscreen.cpp
+++ b/src/client/qwaylandscreen.cpp
@@ -54,7 +54,8 @@
QT_BEGIN_NAMESPACE
QWaylandScreen::QWaylandScreen(QWaylandDisplay *waylandDisplay, uint32_t id)
- : QtWayland::wl_output(waylandDisplay->wl_registry(), id)
+ : QPlatformScreen()
+ , QtWayland::wl_output(waylandDisplay->wl_registry(), id)
, mWaylandDisplay(waylandDisplay)
, mExtendedOutput(0)
, mDepth(32)