From 38030fdb9386e591d9f3919c0d34f6ad0ff17e6a Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Thu, 14 Nov 2013 17:21:06 +0100 Subject: [PATCH] [attrtable] Be less verbose by default in debug mode --- src/gui/attributetable/qgsattributetablemodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/attributetable/qgsattributetablemodel.cpp b/src/gui/attributetable/qgsattributetablemodel.cpp index c7b1a0bf3e9c..77ca1f38c1be 100644 --- a/src/gui/attributetable/qgsattributetablemodel.cpp +++ b/src/gui/attributetable/qgsattributetablemodel.cpp @@ -77,7 +77,7 @@ bool QgsAttributeTableModel::loadFeatureAtId( QgsFeatureId fid ) const void QgsAttributeTableModel::featureDeleted( QgsFeatureId fid ) { - QgsDebugMsg( QString( "(%2) fid: %1" ).arg( fid ).arg( mFeatureRequest.filterType() ) ); + QgsDebugMsgLevel( QString( "(%2) fid: %1" ).arg( fid ).arg( mFeatureRequest.filterType() ), 4 ); mFieldCache.remove( fid ); int row = idToRow( fid ); @@ -132,7 +132,7 @@ bool QgsAttributeTableModel::removeRows( int row, int count, const QModelIndex & void QgsAttributeTableModel::featureAdded( QgsFeatureId fid ) { - QgsDebugMsg( QString( "(%2) fid: %1" ).arg( fid ).arg( mFeatureRequest.filterType() ) ); + QgsDebugMsgLevel( QString( "(%2) fid: %1" ).arg( fid ).arg( mFeatureRequest.filterType() ), 4 ); if ( loadFeatureAtId( fid ) && mFeatureRequest.acceptFeature( mFeat ) ) { mFieldCache[ fid ] = mFeat.attribute( mCachedField );