Skip to content

Commit

Permalink
Remove too much debug output when loading attribute table (refs #14041)
Browse files Browse the repository at this point in the history
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 fc086ad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/attributetable/qgsattributetablemodel.cpp
Expand Up @@ -370,8 +370,6 @@ void QgsAttributeTableModel::loadLayer()
{
++i;

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

if ( t.elapsed() > 1000 )
{
bool cancel = false;
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit fc086ad

Please sign in to comment.