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 1051dbb commit 93efb7942847f183b13c3b6d54e7b45db2ac04d2
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 93efb79

Please sign in to comment.