mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
Less debug noise
This commit is contained in:
parent
9d9ce200ae
commit
b20d3b7e2d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user