From a516cf3c11e33ce3d613468b79daa338df0445d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 22 Jul 2013 16:13:32 +0200 Subject: [PATCH] Drop KWinApplication::x11EventFilter(XEvent*) Does no longer exist in Qt 5. Needs to be replaced. --- main.cpp | 7 ------- main.h | 1 - 2 files changed, 8 deletions(-) diff --git a/main.cpp b/main.cpp index f55b6966a3..3bc6d5c1c0 100644 --- a/main.cpp +++ b/main.cpp @@ -409,13 +409,6 @@ void Application::lostSelection() quit(); } -bool Application::x11EventFilter(XEvent* e) -{ - if (Workspace::self() && Workspace::self()->workspaceEvent(e)) - return true; - return KApplication::x11EventFilter(e); -} - bool Application::notify(QObject* o, QEvent* e) { if (Workspace::self()->workspaceEvent(e)) diff --git a/main.h b/main.h index cac9e9df95..c2bf64ee06 100644 --- a/main.h +++ b/main.h @@ -51,7 +51,6 @@ public: ~Application(); protected: - bool x11EventFilter(XEvent*); bool notify(QObject* o, QEvent* e); static void crashHandler(int signal);