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: {