From 1d4cd55b9d42126026ab0425f8c0cc7c2219c934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 7 Apr 2016 08:36:21 +0200 Subject: [PATCH] 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 --- wayland_server.cpp | 5 ----- wayland_server.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index fbf54a9d09..e549dab0df 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -513,9 +513,4 @@ bool WaylandServer::isScreenLocked() const ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::AcquiringLock; } -AbstractBackend *WaylandServer::backend() const -{ - return kwinApp()->platform(); -} - } diff --git a/wayland_server.h b/wayland_server.h index 531b72e821..5f19184628 100644 --- a/wayland_server.h +++ b/wayland_server.h @@ -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. **/