SineStriker
2023-12-06 2f57263c413021716397841ca9d0bfc9628c8703
src/core/contexts/abstractwindowcontext.cpp
@@ -2,15 +2,11 @@
namespace QWK {
    AbstractWindowContext::AbstractWindowContext(const QObject *host, const WindowItemDelegate *delegate)
    AbstractWindowContext::AbstractWindowContext(QObject *host, WindowItemDelegate *delegate)
        : 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);