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 | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/core/qwkglobal_p.h b/src/core/qwkglobal_p.h index e311ee8..25c3f82 100644 --- a/src/core/qwkglobal_p.h +++ b/src/core/qwkglobal_p.h @@ -1,3 +1,7 @@ +// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) +// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) +// SPDX-License-Identifier: Apache-2.0 + #ifndef QWKGLOBAL_P_H #define QWKGLOBAL_P_H @@ -42,17 +46,6 @@ #endif 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) -- Gitblit v1.9.1