Skip to content

Commit

Permalink
QgsDebugMsg -> QgsDebugMsgLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 1, 2018
1 parent 324fd7d commit 29575b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsmaplayer.cpp
Expand Up @@ -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" ) );
Expand All @@ -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 )
Expand Down

0 comments on commit 29575b5

Please sign in to comment.