Skip to content
Permalink
Browse files

Show referer on WMS connection dialog from browser.

(cherry picked from commit 8cf5089)
  • Loading branch information
ismailsunni authored and nyalldawson committed Nov 20, 2020
1 parent 33ca320 commit 3dc2f6bf1d02ad4f506f9e490f7b30ddf36ee3b9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmsdataitemguiproviders.cpp
@@ -67,7 +67,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() )
{
@@ -89,7 +89,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 3dc2f6b

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