Commit f237f273 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

xwayland: Drop unused method

Xwayland::self() is not used anywhere.
parent e4f2c30f
......@@ -60,24 +60,15 @@ namespace KWin
namespace Xwl
{
Xwayland *s_self = nullptr;
Xwayland *Xwayland::self()
{
return s_self;
}
Xwayland::Xwayland(ApplicationWaylandAbstract *app, QObject *parent)
: XwaylandInterface(parent)
, m_app(app)
{
s_self = this;
}
Xwayland::~Xwayland()
{
stop();
s_self = nullptr;
}
QProcess *Xwayland::process() const
......
......@@ -27,8 +27,6 @@ class Xwayland : public XwaylandInterface
Q_OBJECT
public:
static Xwayland *self();
Xwayland(ApplicationWaylandAbstract *app, QObject *parent = nullptr);
~Xwayland() override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment