mapserver compilation fix

This commit is contained in:
Radim Blazek 2013-05-02 11:23:38 +02:00
parent c3df3ba7b7
commit ae48b09f61

View File

@ -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 )
{