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 48c1180 commit f17eb4828e9d47f430d54d23d3607231e7d91c0c
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 f17eb48

Please sign in to comment.
You can’t perform that action at this time.