SineStriker
2023-12-06 129c32448fa36482c46ae9645e18a62722a04e53
Revert "fix mem leak"

This reverts commit 075a1fd1d67c6e347ab40f460819067b947f92f6.
1个文件已修改
6 ■■■■ 已修改文件
src/core/contexts/abstractwindowcontext.cpp 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/contexts/abstractwindowcontext.cpp
@@ -6,11 +6,7 @@
        : m_host(host), m_delegate(delegate), m_windowHandle(delegate->hostWindow(host)) {
    }
    AbstractWindowContext::~AbstractWindowContext() {
        if (m_delegate) {
            delete m_delegate;
        }
    }
    AbstractWindowContext::~AbstractWindowContext() = default;
    bool AbstractWindowContext::setHitTestVisible(const QObject *obj, bool visible) {
        Q_ASSERT(obj);