From c2185c953075812a6f2874747933162fee2e1d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 17 Oct 2014 09:28:15 +0200 Subject: [PATCH] Drop check whether WAYLAND_DISPLAY env is set It was used to check whether we should create the Wayland interaction, but now that is in kwin_wayland and kwin_x11 doesn't even try to create the WaylandBackend. --- wayland_backend.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wayland_backend.cpp b/wayland_backend.cpp index c216d6e115..b5329fd573 100644 --- a/wayland_backend.cpp +++ b/wayland_backend.cpp @@ -427,10 +427,6 @@ WaylandBackend *WaylandBackend::s_self = 0; WaylandBackend *WaylandBackend::create(QObject *parent) { Q_ASSERT(!s_self); - const QByteArray display = qgetenv("WAYLAND_DISPLAY"); - if (display.isEmpty()) { - return NULL; - } s_self = new WaylandBackend(parent); return s_self; }