From 4d193ef7c61fb4800868f150be6a0bb04b725463 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 20 2月 2024 15:37:54 +0800 Subject: [PATCH] minor tweaks --- 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