From 88f821e189bd1d4d4550c1864f622ca7df2a7c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Thu, 20 Aug 2015 12:26:39 +0200 Subject: Remove automatic initialisation of extensions It is the specific compositor application responsibillity to create the specific extensions. Some of the extensions are picked up with the QWaylandExtension::findIn(QWaylandExtensionContainer *) function to work around missing events/apis. It should be a goal not to have these calles in the base implementation of QWayland[Compositor|Surface|Input..]. Change-Id: Iacd576f2e8a79ca0165b858b1e8f44cddad48d93 --- examples/wayland/server-buffer/compositor/main.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/wayland/server-buffer') diff --git a/examples/wayland/server-buffer/compositor/main.cpp b/examples/wayland/server-buffer/compositor/main.cpp index 1984cb0cd..99231d7be 100644 --- a/examples/wayland/server-buffer/compositor/main.cpp +++ b/examples/wayland/server-buffer/compositor/main.cpp @@ -80,8 +80,6 @@ public: , m_server_buffer_8_bit(0) , m_server_buffer_item_8_bit(0) { - setExtensionFlags(extensionFlags()); - create(); m_view.setSource(QUrl("qrc:/qml/main.qml")); m_view.setResizeMode(QQuickView::SizeRootObjectToView); -- cgit v1.2.3