Skip to content
Permalink
Browse files
[wfs] use QgsWFSNewConnection instead of QgsNewHttpConnection (fixes #…
  • Loading branch information
Joonalai authored and nyalldawson committed Oct 17, 2021
1 parent 1c9a476 commit e823fb8b548d197a8ac1e369a6f534848fe6de4f
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/providers/wfs/qgswfsdataitemguiprovider.cpp
@@ -16,7 +16,7 @@
#include "qgswfsdataitemguiprovider.h"

#include "qgsmanageconnectionsdialog.h"
#include "qgsnewhttpconnection.h"
#include "qgswfsnewconnection.h"
#include "qgswfsconnection.h"
#include "qgswfsconstants.h"
#include "qgswfsdataitems.h"
@@ -62,7 +62,7 @@ void QgsWfsDataItemGuiProvider::populateContextMenu( QgsDataItem *item, QMenu *m

void QgsWfsDataItemGuiProvider::newConnection( QgsDataItem *item )
{
QgsNewHttpConnection nc( nullptr, QgsNewHttpConnection::ConnectionWfs, QgsWFSConstants::CONNECTIONS_WFS );
QgsWFSNewConnection nc( nullptr );
nc.setWindowTitle( tr( "Create a New WFS Connection" ) );

if ( nc.exec() )
@@ -73,7 +73,7 @@ void QgsWfsDataItemGuiProvider::newConnection( QgsDataItem *item )

void QgsWfsDataItemGuiProvider::editConnection( QgsDataItem *item )
{
QgsNewHttpConnection nc( nullptr, QgsNewHttpConnection::ConnectionWfs, QgsWFSConstants::CONNECTIONS_WFS, item->name() );
QgsWFSNewConnection nc( nullptr, item->name() );
nc.setWindowTitle( tr( "Modify WFS Connection" ) );

if ( nc.exec() )

0 comments on commit e823fb8

Please sign in to comment.