Navigation Menu

Skip to content

Commit

Permalink
mapserver compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 2, 2013
1 parent c3df3ba commit ae48b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgsprojectparser.cpp
Expand Up @@ -1423,7 +1423,7 @@ QgsMapLayer* QgsProjectParser::createLayerFromElement( const QDomElement& elem,

if ( layer )
{
layer->readXML( const_cast<QDomElement&>( elem ) ); //should be changed to const in QgsMapLayer
layer->readLayerXML( const_cast<QDomElement&>( elem ) ); //should be changed to const in QgsMapLayer
layer->setLayerName( layerName( elem ) );
if ( useCache )
{
Expand Down

0 comments on commit ae48b09

Please sign in to comment.