Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show referer on WMS connection dialog from browser.
  • Loading branch information
ismailsunni authored and nyalldawson committed Nov 6, 2020
1 parent ded7acc commit 8cf5089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wms/qgswmsdataitemguiproviders.cpp
Expand Up @@ -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() )
{
Expand All @@ -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() )
{
Expand Down

0 comments on commit 8cf5089

Please sign in to comment.