Skip to content
Permalink
Browse files

Less debug noise

  • Loading branch information
m-kuhn committed Sep 9, 2016
1 parent 9d9ce20 commit b20d3b7e2d8388071120f33c3f974fad90004029
Showing with 6 additions and 7 deletions.
  1. +4 −5 src/app/qgsundowidget.cpp
  2. +1 −1 src/core/qgsvectorlayereditbuffer.cpp
  3. +1 −1 src/core/qgsvectorlayerundocommand.cpp
@@ -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 );
}
}

@@ -100,7 +100,6 @@ void QgsUndoWidget::indexChanged( int curIndx )
{
if ( mMapCanvas )
{
QgsDebugMsg( QString( "trigger redraw" ) );
mMapCanvas->refresh();
}
}
@@ -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();
}
@@ -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)

0 comments on commit b20d3b7

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