Skip to content

Commit 757a4e3

Browse files
author
mhugent
committed
Fix for bug #1812: WFS dialog window confusion (refers to WMS)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11513 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9a54ef8 commit 757a4e3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/plugins/wfs/qgswfssourceselect.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,10 @@ int QgsWFSSourceSelect::getCapabilitiesSOAP( const QString& uri, std::list<QStri
231231

232232
void QgsWFSSourceSelect::addEntryToServerList()
233233
{
234-
QgsNewHttpConnection *nc = new QgsNewHttpConnection( this, "/Qgis/connections-wfs/" );
234+
QgsNewHttpConnection nc( 0, "/Qgis/connections-wfs/" );
235+
nc.setWindowTitle( tr( "Create a new WFS connection" ) );
235236

236-
if ( nc->exec() )
237+
if ( nc.exec() )
237238
{
238239
populateConnectionList();
239240
}
@@ -242,6 +243,7 @@ void QgsWFSSourceSelect::addEntryToServerList()
242243
void QgsWFSSourceSelect::modifyEntryOfServerList()
243244
{
244245
QgsNewHttpConnection nc( 0, "/Qgis/connections-wfs/", cmbConnections->currentText() );
246+
nc.setWindowTitle( tr( "Modify WFS connection" ) );
245247

246248
if ( nc.exec() )
247249
{

0 commit comments

Comments
 (0)