[QGIS Commit] r10435 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Mar 28 09:24:26 EDT 2009


Author: mhugent
Date: 2009-03-28 09:24:26 -0400 (Sat, 28 Mar 2009)
New Revision: 10435

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
display layer name for WMS layers instead of server to distinguish several layers from the same WMS

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-03-28 11:58:38 UTC (rev 10434)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-03-28 13:24:26 UTC (rev 10435)
@@ -2509,7 +2509,7 @@
   {
 
     addRasterLayer( wmss->connectionInfo(),
-                    wmss->connName(),
+                    /*wmss->connName()*/wmss->selectedLayers().join("/"),
                     "wms",
                     wmss->selectedLayers(),
                     wmss->selectedStylesForSelectedLayers(),



More information about the QGIS-commit mailing list