From c66c61de0c07af2901f2f74bc79c6fab1c22cb3b Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 20 Dec 2022 15:42:36 +0100 Subject: [PATCH] missing default seed value added --- src/common/QskGradient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/QskGradient.h b/src/common/QskGradient.h index 14d8d296..ea76a538 100644 --- a/src/common/QskGradient.h +++ b/src/common/QskGradient.h @@ -136,7 +136,7 @@ class QSK_EXPORT QskGradient // all stops between [from, to] with positions streched into [0,1] QskGradient extracted( qreal from, qreal start ) const; - QskHashValue hash( QskHashValue seed ) const; + QskHashValue hash( QskHashValue seed = 0 ) const; Q_INVOKABLE qreal stopAt( int index ) const noexcept; Q_INVOKABLE QColor colorAt( int index ) const noexcept;