QgsDebugMsg -> QgsDebugMsgLevel

This commit is contained in:
Alessandro Pasotti 2018-05-12 16:23:23 +02:00
parent 324fd7d522
commit 29575b5b7e

View File

@ -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 )