From 54c66b5b53f27777b84c6d9179ad15162047f879 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 5 May 2025 22:38:07 +0900 Subject: [PATCH] Remove unnecessary KAppX11HackWidget class Signed-off-by: Michele Calgaro --- tdecore/tdeapplication.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp index fb11f90d4..f95e88a4c 100644 --- a/tdecore/tdeapplication.cpp +++ b/tdecore/tdeapplication.cpp @@ -1902,14 +1902,6 @@ TDEApplication::~TDEApplication() } -#ifdef TQ_WS_X11 -class KAppX11HackWidget: public TQWidget -{ -public: - bool publicx11Event( XEvent * e) { return x11Event( e ); } -}; -#endif - #if defined(TQ_WS_X11) && defined(COMPOSITE) bool TDEApplication::isCompositionManagerAvailable() { bool have_manager = false; @@ -2184,7 +2176,7 @@ bool TDEApplication::x11EventFilter( XEvent *_event ) if (x11Filter) { for (TQWidget *w=x11Filter->first(); w; w=x11Filter->next()) { - if (((KAppX11HackWidget*) w)->publicx11Event(_event)) + if (w->x11Event(_event)) return true; } }