Skip to content
Permalink
Browse files

Remove too much debug output when loading attribute table (refs #14041)

This makes debug version much faster, probably not much difference in release version
  • Loading branch information
wonder-sk committed Jan 23, 2016
1 parent a618f85 commit fc086adb342c626ed2471fbc31a48d715b37e858
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -370,8 +370,6 @@ void QgsAttributeTableModel::loadLayer()
{
++i;

QgsDebugMsg( QString( "Next feature %1" ).arg( i ) );

if ( t.elapsed() > 1000 )
{
bool cancel = false;
@@ -488,7 +486,6 @@ int QgsAttributeTableModel::fieldCol( int idx ) const

int QgsAttributeTableModel::rowCount( const QModelIndex &parent ) const
{
QgsDebugMsg( QString( "Row Count %1" ).arg( mRowIdMap.size() ) );
Q_UNUSED( parent );
return mRowIdMap.size();
}

0 comments on commit fc086ad

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