Skip to content

Commit 851cdb2

Browse files
committedJan 18, 2018
QgsDebugMsg -> QgsDebugMsgLevel in getcapabilities download
1 parent 172b217 commit 851cdb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/providers/wms/qgswmscapabilities.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,17 +1923,17 @@ bool QgsWmsCapabilitiesDownload::downloadCapabilities( const QString &baseUrl, c
19231923

19241924
bool QgsWmsCapabilitiesDownload::downloadCapabilities()
19251925
{
1926-
QgsDebugMsg( QString( "entering: forceRefresh=%1" ).arg( mForceRefresh ) );
1926+
QgsDebugMsgLevel( QStringLiteral( "entering: forceRefresh=%1" ).arg( mForceRefresh ), 2 );
19271927
abort(); // cancel previous
19281928
mIsAborted = false;
19291929

19301930
QString url = mBaseUrl;
1931-
QgsDebugMsg( "url = " + url );
19321931
if ( !url.contains( QLatin1String( "SERVICE=WMTS" ), Qt::CaseInsensitive ) &&
19331932
!url.contains( QLatin1String( "/WMTSCapabilities.xml" ), Qt::CaseInsensitive ) )
19341933
{
19351934
url += QLatin1String( "SERVICE=WMS&REQUEST=GetCapabilities" );
19361935
}
1936+
QgsDebugMsgLevel( QStringLiteral( "url = %1" ).arg( url ), 2 );
19371937

19381938
mError.clear();
19391939

0 commit comments

Comments
 (0)
Please sign in to comment.