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 75405293e0c471c2a55398c20ccb847396010f95
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsserverprojectparser.cpp
@@ -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.
You can’t perform that action at this time.