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 d7ed069 commit 713e576
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 713e576

Please sign in to comment.