Skip to content

Commit

Permalink
[QGIS Server] Loss qobject_cast when it's usefull
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Oct 11, 2016
1 parent 1051dbb commit 93efb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverprojectparser.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 93efb79

Please sign in to comment.