Skip to content
Permalink
Browse files
[QGIS Server] Loss qobject_cast when it's usefull
  • Loading branch information
rldhont committed Oct 11, 2016
1 parent 8596265 commit 7540529
Showing 1 changed file with 1 addition and 1 deletion.
@@ -291,7 +291,7 @@ QgsMapLayer* QgsServerProjectParser::createLayerFromElement( const QDomElement&

if ( layer->type() == QgsMapLayer::VectorLayer )
{
addValueRelationLayersForLayer( dynamic_cast<QgsVectorLayer *>( layer ) );
addValueRelationLayersForLayer( qobject_cast<QgsVectorLayer *>( layer ) );
}
}
return layer;

0 comments on commit 7540529

Please sign in to comment.