From bdc57c6ec9b08f74ca65a06b8496fbaa3268c5fd Mon Sep 17 00:00:00 2001
From: Dylan Liu <mentalflow@ourdocs.cn>
Date: 周六, 04 5月 2024 20:51:20 +0800
Subject: [PATCH] Fix macOS title bar buttons not displaying properly.

---
 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