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 48c1180 commit f17eb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverprojectparser.cpp
Original file line number Diff line number Diff line change
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 f17eb48

Please sign in to comment.