Skip to content

Commit

Permalink
fix 1df9d7e
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 8, 2016
1 parent 1d612d7 commit 3b9316d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverprojectparser.cpp
Expand Up @@ -242,7 +242,7 @@ QgsMapLayer* QgsServerProjectParser::createLayerFromElement( const QDomElement&
// Reload joins and expression fields
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer *>( layer );
QString subsetString = vlayer->subsetString();
layer->readLayerXML( const_cast<QDomElement&>( elem ) );
layer->readLayerXml( const_cast<QDomElement&>( elem ) );
vlayer->setSubsetString( subsetString );
}
return layer;
Expand Down

0 comments on commit 3b9316d

Please sign in to comment.