Skip to content

Commit

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

0 comments on commit 3dc2f6b

Please sign in to comment.