From b6cd4a23d7e80bf09ca17389f9d74e7c42842449 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 24 Sep 2024 12:17:22 +0200 Subject: [PATCH] bad check fixed --- playground/gradients/GradientQuickShape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/gradients/GradientQuickShape.cpp b/playground/gradients/GradientQuickShape.cpp index 9ace9733..cfe00b13 100644 --- a/playground/gradients/GradientQuickShape.cpp +++ b/playground/gradients/GradientQuickShape.cpp @@ -57,7 +57,7 @@ namespace auto effectiveGradient = gradient.effectiveGradient(); effectiveGradient.stretchTo( rect ); - switch( static_cast< int >( gradient.type() ) ) + switch( static_cast< int >( effectiveGradient.type() ) ) { case QskGradient::Linear: {