From 2d2fc799bc698ebf7e7c8bcc394366d0d7bf071b Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 20 2月 2024 18:18:39 +0800 Subject: [PATCH] Partially finish the bug after window close and reshow --- 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