Skip to content
Permalink
Browse files

Show referer on WMS connection dialog from browser.

  • Loading branch information
ismailsunni authored and nyalldawson committed Nov 6, 2020
1 parent ded7acc commit 8cf5089c6f380adb3bdf303e762ed5e55c207318
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmsdataitemguiproviders.cpp
@@ -81,7 +81,7 @@ QWidget *QgsWmsDataItemGuiProvider::createParamWidget( QgsDataItem *root, QgsDat

void QgsWmsDataItemGuiProvider::editConnection( QgsDataItem *item )
{
QgsNewHttpConnection nc( nullptr, QgsNewHttpConnection::ConnectionWms, QStringLiteral( "qgis/connections-wms/" ), item->name() );
QgsNewHttpConnection nc( nullptr, QgsNewHttpConnection::ConnectionWms, QStringLiteral( "qgis/connections-wms/" ), item->name(), QgsNewHttpConnection::FlagShowHttpSettings );

if ( nc.exec() )
{
@@ -103,7 +103,7 @@ void QgsWmsDataItemGuiProvider::deleteConnection( QgsDataItem *item )

void QgsWmsDataItemGuiProvider::newConnection( QgsDataItem *item )
{
QgsNewHttpConnection nc( nullptr );
QgsNewHttpConnection nc( nullptr, QgsNewHttpConnection::ConnectionWms, QStringLiteral( "qgis/connections-wms/" ), QString(), QgsNewHttpConnection::FlagShowHttpSettings );

if ( nc.exec() )
{

0 comments on commit 8cf5089

Please sign in to comment.
You can’t perform that action at this time.