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.
This commit is contained in:
parent
1829345a2f
commit
c2185c9530
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue