Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
QgsDebugMsg -> QgsDebugMsgLevel
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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 ) |
|
|