From 5356f0ce88a6e685b89cf20ccd7765a222763107 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 18 Nov 2022 09:12:13 +0100 Subject: [PATCH] Q_INVOKABLE for READ/WRITE property accessors removed. do not make sense and lead to assertions, when Qt has been built in debug mode --- src/common/QskGradient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/QskGradient.h b/src/common/QskGradient.h index ee671275..47a655f8 100644 --- a/src/common/QskGradient.h +++ b/src/common/QskGradient.h @@ -89,8 +89,8 @@ class QSK_EXPORT QskGradient bool isMonochrome() const noexcept; bool isVisible() const noexcept; - Q_INVOKABLE void setStops( const QVector< QskGradientStop >& ); - Q_INVOKABLE const QVector< QskGradientStop >& stops() const noexcept; + void setStops( const QVector< QskGradientStop >& ); + const QVector< QskGradientStop >& stops() const noexcept; void setStops( const QRgb ); void setStops( Qt::GlobalColor );