diff --git a/src/DoubleClickEater.cpp b/src/DoubleClickEater.cpp index 317140c..015d89f 100644 --- a/src/DoubleClickEater.cpp +++ b/src/DoubleClickEater.cpp @@ -4,9 +4,9 @@ DoubleClickEater::DoubleClickEater(QObject* parent) : QObject(parent) {} -bool DoubleClickEater::eventFilter(QObject* obj, QEvent* event) +bool DoubleClickEater::eventFilter(QObject* watched, QEvent* event) { if (event->type() == QEvent::MouseButtonDblClick) return true; - return QObject::eventFilter(obj, event); + return QObject::eventFilter(watched, event); } diff --git a/src/DoubleClickEater.h b/src/DoubleClickEater.h index 2ba494f..319fd52 100644 --- a/src/DoubleClickEater.h +++ b/src/DoubleClickEater.h @@ -9,5 +9,5 @@ class DoubleClickEater : public QObject explicit DoubleClickEater(QObject* parent = nullptr); protected: - bool eventFilter(QObject* obj, QEvent* event) override; + bool eventFilter(QObject* watched, QEvent* event) override; };