Skip to content
Permalink
Browse files

[attrtable] Be less verbose by default in debug mode

  • Loading branch information
m-kuhn committed Nov 14, 2013
1 parent f867506 commit 38030fdb9386e591d9f3919c0d34f6ad0ff17e6a
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 );

0 comments on commit 38030fd

Please sign in to comment.
You can’t perform that action at this time.