mirror of
https://github.com/qgis/QGIS.git
synced 2025-07-13 00:02:34 -04:00
mapserver compilation fix
This commit is contained in:
parent
c3df3ba7b7
commit
ae48b09f61
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user