Skip to content

Commit

Permalink
Revert "Fix QGIS server for PyQgsServerAccessControl"
Browse files Browse the repository at this point in the history
This reverts commit 6e4dbc0.
  • Loading branch information
rldhont committed Oct 10, 2016
1 parent 20b93df commit 86d455a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/server/qgsserverprojectparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,7 @@ QgsMapLayer* QgsServerProjectParser::createLayerFromElement( const QDomElement&
{
addValueRelationLayersForLayer( dynamic_cast<QgsVectorLayer *>( layer ) );
// Reload joins and expression fields
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer *>( layer );
QString subsetString = vlayer->subsetString();
layer->readLayerXML( const_cast<QDomElement&>( elem ) );
vlayer->setSubsetString( subsetString );
}
return layer;
}
Expand Down

0 comments on commit 86d455a

Please sign in to comment.