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
master
Martin Gräßlin 9 years ago
parent 146af48f22
commit 1d4cd55b9d

@ -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.
**/

Loading…
Cancel
Save