Skip to content

Commit

Permalink
Less debug noise
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 9, 2016
1 parent 9d9ce20 commit b20d3b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions src/app/qgsundowidget.cpp
Expand Up @@ -85,12 +85,12 @@ void QgsUndoWidget::indexChanged( int curIndx )

if ( offset != 0 )
{
QgsDebugMsg( QString( "curIndx : %1" ).arg( curIndx ) );
QgsDebugMsg( QString( "offset : %1" ).arg( offset ) );
QgsDebugMsg( QString( "curCount: %1" ).arg( curCount ) );
QgsDebugMsgLevel( QString( "curIndx : %1" ).arg( curIndx ), 4 );
QgsDebugMsgLevel( QString( "offset : %1" ).arg( offset ), 4 );
QgsDebugMsgLevel( QString( "curCount: %1" ).arg( curCount ), 4 );
if ( lastRedo )
{
QgsDebugMsg( QString( "lastRedo: true" ) );
QgsDebugMsgLevel( QString( "lastRedo: true" ), 4 );
}
}

Expand All @@ -100,7 +100,6 @@ void QgsUndoWidget::indexChanged( int curIndx )
{
if ( mMapCanvas )
{
QgsDebugMsg( QString( "trigger redraw" ) );
mMapCanvas->refresh();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayereditbuffer.cpp
Expand Up @@ -53,7 +53,7 @@ bool QgsVectorLayerEditBuffer::isModified() const

void QgsVectorLayerEditBuffer::undoIndexChanged( int index )
{
QgsDebugMsg( QString( "undo index changed %1" ).arg( index ) );
QgsDebugMsgLevel( QString( "undo index changed %1" ).arg( index ), 4 );
Q_UNUSED( index );
emit layerModified();
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerundocommand.cpp
Expand Up @@ -33,7 +33,7 @@ QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature( QgsVec
//assign a temporary id to the feature (use negative numbers)
addedIdLowWaterMark--;

QgsDebugMsg( "Assigned feature id " + QString::number( addedIdLowWaterMark ) );
QgsDebugMsgLevel( "Assigned feature id " + QString::number( addedIdLowWaterMark ), 4 );

// Force a feature ID (to keep other functions in QGIS happy,
// providers will use their own new feature ID when we commit the new feature)
Expand Down

0 comments on commit b20d3b7

Please sign in to comment.