mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
QgsDebugMsg -> QgsDebugMsgLevel
This commit is contained in:
parent
324fd7d522
commit
29575b5b7e
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user