xwayland: Drop unused method

Xwayland::self() is not used anywhere.
master
Vlad Zahorodnii 2020-08-11 19:42:47 +03:00
parent e4f2c30f50
commit f237f273da
2 changed files with 0 additions and 11 deletions

View File

@ -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

View File

@ -27,8 +27,6 @@ class Xwayland : public XwaylandInterface
Q_OBJECT
public:
static Xwayland *self();
Xwayland(ApplicationWaylandAbstract *app, QObject *parent = nullptr);
~Xwayland() override;