From f69dedcb1361aa11a3da8bbaf987b6501321b68c Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Mon, 6 Dec 2021 19:55:19 +0100 Subject: [PATCH] Qt 5.6 incompatibility fixed --- examples/iotdashboard/nodes/BoxShadowNode.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/iotdashboard/nodes/BoxShadowNode.cpp b/examples/iotdashboard/nodes/BoxShadowNode.cpp index b7a0433f..dee3da36 100644 --- a/examples/iotdashboard/nodes/BoxShadowNode.cpp +++ b/examples/iotdashboard/nodes/BoxShadowNode.cpp @@ -91,8 +91,7 @@ namespace if ( state.isOpacityDirty() ) p->setUniformValue( m_opacityId, state.opacity() ); - if ( oldMaterial == nullptr || newMaterial->compare( oldMaterial ) != 0 - || state.isCachedMaterialDataDirty( )) + if ( oldMaterial == nullptr || newMaterial->compare( oldMaterial ) != 0 ) { auto material = static_cast< const Material* >( newMaterial );