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
This commit is contained in:
Martin Gräßlin 2016-04-07 08:36:21 +02:00
parent 146af48f22
commit 1d4cd55b9d
2 changed files with 0 additions and 8 deletions

View file

@ -513,9 +513,4 @@ bool WaylandServer::isScreenLocked() const
ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::AcquiringLock;
}
AbstractBackend *WaylandServer::backend() const
{
return kwinApp()->platform();
}
}

View file

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