[QGIS Commit] r11513 - trunk/qgis/src/plugins/wfs

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 26 10:28:55 EDT 2009


Author: mhugent
Date: 2009-08-26 10:28:54 -0400 (Wed, 26 Aug 2009)
New Revision: 11513

Modified:
   trunk/qgis/src/plugins/wfs/qgswfssourceselect.cpp
Log:
Fix for bug #1812: WFS dialog window confusion (refers to WMS)

Modified: trunk/qgis/src/plugins/wfs/qgswfssourceselect.cpp
===================================================================
--- trunk/qgis/src/plugins/wfs/qgswfssourceselect.cpp	2009-08-26 13:56:41 UTC (rev 11512)
+++ trunk/qgis/src/plugins/wfs/qgswfssourceselect.cpp	2009-08-26 14:28:54 UTC (rev 11513)
@@ -231,9 +231,10 @@
 
 void QgsWFSSourceSelect::addEntryToServerList()
 {
-  QgsNewHttpConnection *nc = new QgsNewHttpConnection( this, "/Qgis/connections-wfs/" );
+  QgsNewHttpConnection nc( 0, "/Qgis/connections-wfs/" );
+  nc.setWindowTitle( tr( "Create a new WFS connection" ) );
 
-  if ( nc->exec() )
+  if ( nc.exec() )
   {
     populateConnectionList();
   }
@@ -242,6 +243,7 @@
 void QgsWFSSourceSelect::modifyEntryOfServerList()
 {
   QgsNewHttpConnection nc( 0, "/Qgis/connections-wfs/", cmbConnections->currentText() );
+  nc.setWindowTitle( tr( "Modify WFS connection" ) );
 
   if ( nc.exec() )
   {



More information about the QGIS-commit mailing list