src/core/contexts/abstractwindowcontext_p.h
@@ -20,7 +20,7 @@ ~AbstractWindowContext() override; public: virtual bool setup(QObject *host, WindowItemDelegate *delegate); bool setup(QObject *host, WindowItemDelegate *delegate); inline QObject *host() const; inline QWindow *window() const; @@ -42,6 +42,10 @@ bool isInTitleBarDraggableArea(const QPoint &pos) const; protected: virtual bool setupHost() = 0; virtual bool hostEventFilter(QEvent *event); protected: QObject *m_host; std::unique_ptr<WindowItemDelegate> m_delegate; QWindow *m_windowHandle;