Commit 1d4cd55b authored by Martin Flöser's avatar Martin Flöser

Drop backend() -> AbstractBackend* from WaylandServer

No longer needed, provided through Application::platform().

Reviewers: #plasma

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1339
parent 146af48f
......@@ -513,9 +513,4 @@ bool WaylandServer::isScreenLocked() const
ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::AcquiringLock;
}
AbstractBackend *WaylandServer::backend() const
{
return kwinApp()->platform();
}
}
......@@ -58,7 +58,6 @@ namespace KWin
{
class ShellClient;
class AbstractBackend;
class AbstractClient;
class KWIN_EXPORT WaylandServer : public QObject
......@@ -106,8 +105,6 @@ public:
ShellClient *findClient(KWayland::Server::SurfaceInterface *surface) const;
ShellClient *findClient(QWindow *w) const;
AbstractBackend *backend() const;
/**
* @returns file descriptor for Xwayland to connect to.
**/
......
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