From 9bda878a38deae78099548e53bee77f39d0ea942 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 17 Oct 2020 23:41:37 +0300 Subject: [PATCH] remove redundant QWidgetAction::eventFilter() reimplementation Signed-off-by: Ivailo Monev --- src/gui/kernel/qwidgetaction.cpp | 8 -------- src/gui/kernel/qwidgetaction.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/gui/kernel/qwidgetaction.cpp b/src/gui/kernel/qwidgetaction.cpp index a26f058ed..004fce34d 100644 --- a/src/gui/kernel/qwidgetaction.cpp +++ b/src/gui/kernel/qwidgetaction.cpp @@ -209,14 +209,6 @@ bool QWidgetAction::event(QEvent *event) return QAction::event(event); } -/*! - \reimp - */ -bool QWidgetAction::eventFilter(QObject *obj, QEvent *event) -{ - return QAction::eventFilter(obj,event); -} - /*! This function is called whenever the action is added to a container widget that supports custom widgets. If you don't want a custom widget to be diff --git a/src/gui/kernel/qwidgetaction.h b/src/gui/kernel/qwidgetaction.h index d82b18f5b..9c95f68e7 100644 --- a/src/gui/kernel/qwidgetaction.h +++ b/src/gui/kernel/qwidgetaction.h @@ -62,7 +62,6 @@ public: protected: virtual bool event(QEvent *); - virtual bool eventFilter(QObject *, QEvent *); virtual QWidget *createWidget(QWidget *parent); virtual void deleteWidget(QWidget *widget); QList createdWidgets() const;