Skip to content
Permalink
Browse files

QgsDebugMsg -> QgsDebugMsgLevel in getcapabilities download

  • Loading branch information
elpaso committed Jan 18, 2018
1 parent 172b217 commit 851cdb20a1a87eceff485594b4083c571834c67a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmscapabilities.cpp
@@ -1923,17 +1923,17 @@ bool QgsWmsCapabilitiesDownload::downloadCapabilities( const QString &baseUrl, c

bool QgsWmsCapabilitiesDownload::downloadCapabilities()
{
QgsDebugMsg( QString( "entering: forceRefresh=%1" ).arg( mForceRefresh ) );
QgsDebugMsgLevel( QStringLiteral( "entering: forceRefresh=%1" ).arg( mForceRefresh ), 2 );
abort(); // cancel previous
mIsAborted = false;

QString url = mBaseUrl;
QgsDebugMsg( "url = " + url );
if ( !url.contains( QLatin1String( "SERVICE=WMTS" ), Qt::CaseInsensitive ) &&
!url.contains( QLatin1String( "/WMTSCapabilities.xml" ), Qt::CaseInsensitive ) )
{
url += QLatin1String( "SERVICE=WMS&REQUEST=GetCapabilities" );
}
QgsDebugMsgLevel( QStringLiteral( "url = %1" ).arg( url ), 2 );

mError.clear();

0 comments on commit 851cdb2

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