From dd961a654f29fe6a59a093f8b4b0fff726efbd4a Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 08 5月 2024 11:55:57 +0800 Subject: [PATCH] Fix a mistake --- src/core/qwkglobal_p.h | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/src/core/qwkglobal_p.h b/src/core/qwkglobal_p.h index afaac67..25c3f82 100644 --- a/src/core/qwkglobal_p.h +++ b/src/core/qwkglobal_p.h @@ -47,17 +47,6 @@ namespace QWK { - namespace Private { - - class ObjectHelper : public QObject { - public: - static inline bool sendEvent(QObject *obj, QEvent *event) { - return static_cast<ObjectHelper *>(obj)->event(event); - } - }; - - } - inline QPoint getMouseEventScenePos(const QMouseEvent *event) { #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) return event->scenePosition().toPoint(); -- Gitblit v1.9.1