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 713e576844e76ba53262597afc6fe013ba48f3b7
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 713e576

Please sign in to comment.