[QGIS Commit] r9147 - in trunk/qgis/src/core: . raster
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Aug 24 08:40:46 EDT 2008
Author: timlinux
Date: 2008-08-24 08:40:44 -0400 (Sun, 24 Aug 2008)
New Revision: 9147
Modified:
trunk/qgis/src/core/qgsmaplayer.cpp
trunk/qgis/src/core/raster/qgsrasterlayer.cpp
Log:
Use layername not layerName for xml
Modified: trunk/qgis/src/core/qgsmaplayer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaplayer.cpp 2008-08-24 10:17:08 UTC (rev 9146)
+++ trunk/qgis/src/core/qgsmaplayer.cpp 2008-08-24 12:40:44 UTC (rev 9147)
@@ -191,7 +191,7 @@
setMaxScale( element.attribute( "maxScale" ).toFloat() );
// set name
- mnl = layer_node.namedItem( "layerName" );
+ mnl = layer_node.namedItem( "layername" );
mne = mnl.toElement();
setLayerName( mne.text() );
@@ -255,7 +255,7 @@
// layer name
- QDomElement layerName = document.createElement( "layerName" );
+ QDomElement layerName = document.createElement( "layername" );
QDomText layerNameText = document.createTextNode( name() );
layerName.appendChild( layerNameText );
Modified: trunk/qgis/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2008-08-24 10:17:08 UTC (rev 9146)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2008-08-24 12:40:44 UTC (rev 9147)
@@ -4006,7 +4006,7 @@
Raster layer project file XML of form:
<maplayer type="raster" visible="1" showInOverviewFlag="1">
- <layerName>Wynoochee_dem</layerName>
+ <layername>Wynoochee_dem</layername>
<datasource>/home/mcoletti/mnt/MCOLETTIF8F9/c/Toolkit_Course/Answers/Training_Data/wynoochee_dem.img</datasource>
<zorder>0</zorder>
<transparencyLevelInt>255</transparencyLevelInt>
More information about the QGIS-commit
mailing list