using QskGradient::hash

This commit is contained in:
Uwe Rathmann 2022-10-14 17:13:33 +02:00
parent 4b1ac99740
commit 6fef215310

View File

@ -49,9 +49,7 @@ QskHashValue QskArcNode::hash( const void* nodeData ) const
const auto arcData = reinterpret_cast< const ArcData* >( nodeData );
auto h = arcData->metrics.hash();
for( const auto& stop : qAsConst( arcData->gradient.stops() ) )
h = stop.hash( h );
return arcData->gradient.hash( h );
return h;
}