Skip to content

Commit 002416f

Browse files
author
jef
committedJan 14, 2010
reduce debugging noise
git-svn-id: http://svn.osgeo.org/qgis/trunk@12758 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 10a5e6d commit 002416f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎src/core/qgscoordinatereferencesystem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ bool QgsCoordinateReferenceSystem::createFromSrsId( long id )
187187

188188
bool QgsCoordinateReferenceSystem::loadFromDb( QString db, QString field, long id )
189189
{
190-
QgsDebugMsg( "load CRS from " + db + " where " + field + " is " + QString::number( id ) );
190+
QgsDebugMsgLevel( "load CRS from " + db + " where " + field + " is " + QString::number( id ), 3 );
191191
mIsValidFlag = false;
192192

193193
QFileInfo myInfo( db );
@@ -1133,7 +1133,7 @@ QString QgsCoordinateReferenceSystem::proj4FromSrsId( const int theSrsId )
11331133

11341134
int QgsCoordinateReferenceSystem::openDb( QString path, sqlite3 **db )
11351135
{
1136-
QgsDebugMsg( "path = " + path );
1136+
QgsDebugMsgLevel( "path = " + path, 3 );
11371137
int myResult = sqlite3_open( path.toUtf8().data(), db );
11381138

11391139
if ( myResult )

‎src/core/qgsmaprenderer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,9 @@ void QgsMapRenderer::setDestinationSrs( const QgsCoordinateReferenceSystem& srs
647647

648648
const QgsCoordinateReferenceSystem& QgsMapRenderer::destinationSrs()
649649
{
650-
QgsDebugMsg( "* Returning destCRS" );
651-
QgsDebugMsg( "* DestCRS.srsid() = " + QString::number( mDestCRS->srsid() ) );
652-
QgsDebugMsg( "* DestCRS.proj4() = " + mDestCRS->toProj4() );
650+
QgsDebugMsgLevel( "* Returning destCRS", 3 );
651+
QgsDebugMsgLevel( "* DestCRS.srsid() = " + QString::number( mDestCRS->srsid() ), 3 );
652+
QgsDebugMsgLevel( "* DestCRS.proj4() = " + mDestCRS->toProj4(), 3 );
653653
return *mDestCRS;
654654
}
655655

0 commit comments

Comments
 (0)
Please sign in to comment.