Sine Striker
2023-12-20 995dc0b4d52e66adac84812dedf32785a65bce83
src/core/contexts/abstractwindowcontext_p.h
@@ -73,11 +73,8 @@
        void showSystemMenu(const QPoint &pos);
        void notifyWinIdChange();
        inline bool isEnabled() const;
        void setEnabled(bool enabled);
    protected:
        virtual void winIdChanged(QWindow *oldWindow, bool isDestroyed) = 0;
        virtual void winIdChanged() = 0;
    protected:
        QObject *m_host{};
@@ -93,10 +90,6 @@
        std::array<QObject *, WindowAgentBase::NumSystemButton> m_systemButtons{};
        QVariantHash m_windowAttributes;
    private:
        bool m_internalEnabled = false;
        QPointer<QWindow> m_windowHandleCache;
    };
    inline QObject *AbstractWindowContext::host() const {
@@ -133,10 +126,6 @@
        return m_systemButtonArea;
    }
#endif
    inline bool AbstractWindowContext::isEnabled() const {
        return m_internalEnabled;
    }
}