crash fixed

This commit is contained in:
Uwe Rathmann 2022-12-05 11:18:35 +01:00
parent 35a0d63b5a
commit 4888fcc5ba
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ inline Node* qskNode( QSGNode* parentNode, quint8 role )
{ {
using namespace QskSGNode; using namespace QskSGNode;
auto node = static_cast< Node* > ( findChildNode( parentNode, ShadowRole ) ); auto node = static_cast< Node* > ( findChildNode( parentNode, role ) );
if ( node == nullptr ) if ( node == nullptr )
{ {