Skip to content
Permalink
Browse files

QgsDebugMsg -> QgsDebugMsgLevel

  • Loading branch information
elpaso committed May 12, 2018
1 parent 324fd7d commit 29575b5b7e021ff82f9d69537988bdb407be2b2b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsmaplayer.cpp
@@ -901,6 +901,7 @@ QString QgsMapLayer::loadNamedProperty( const QString &uri, QgsMapLayer::Propert
{
QgsDebugMsgLevel( QString( "uri = %1 myURI = %2" ).arg( uri, publicSource() ), 4 );

QgsDebugMsgLevel( "loadNamedProperty", 2 );
resultFlag = false;

QDomDocument myDocument( QStringLiteral( "qgis" ) );
@@ -912,7 +913,7 @@ QString QgsMapLayer::loadNamedProperty( const QString &uri, QgsMapLayer::Propert
QFile myFile( uri );
if ( myFile.open( QFile::ReadOnly ) )
{
QgsDebugMsg( QString( "file found %1" ).arg( uri ) );
QgsDebugMsgLevel( QString( "file found %1" ).arg( uri ), 2 );
// read file
resultFlag = myDocument.setContent( &myFile, &myErrorMessage, &line, &column );
if ( !resultFlag )

0 comments on commit 29575b5

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