File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -224,8 +224,8 @@ class ProxyWindowAttached: public QsWindowAttached {
224224
225225 [[nodiscard]] bool maximized () const override { return this ->bMaximized ; }
226226 [[nodiscard]] bool fullscreen () const override { return this ->bFullscreen ; }
227- [[nodiscard]] QBindable<bool > bindableMaximized () override { return &this ->bMaximized ; }
228- [[nodiscard]] QBindable<bool > bindableFullscreen () override { return &this ->bFullscreen ; }
227+ [[nodiscard]] QBindable<bool > bindableMaximized () const override { return &this ->bMaximized ; }
228+ [[nodiscard]] QBindable<bool > bindableFullscreen () const override { return &this ->bFullscreen ; }
229229
230230protected:
231231 void updateWindow () override ;
Original file line number Diff line number Diff line change @@ -281,8 +281,8 @@ class QsWindowAttached: public QObject {
281281
282282 [[nodiscard]] virtual bool maximized () const = 0;
283283 [[nodiscard]] virtual bool fullscreen () const = 0;
284- [[nodiscard]] virtual QBindable<bool > bindableMaximized () = 0;
285- [[nodiscard]] virtual QBindable<bool > bindableFullscreen () = 0;
284+ [[nodiscard]] virtual QBindable<bool > bindableMaximized () const = 0;
285+ [[nodiscard]] virtual QBindable<bool > bindableFullscreen () const = 0;
286286
287287 Q_INVOKABLE [[nodiscard]] QPointF itemPosition (QQuickItem* item) const ;
288288 Q_INVOKABLE [[nodiscard]] QRectF itemRect (QQuickItem* item) const ;
You can’t perform that action at this time.
0 commit comments