File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ void QgsUndoWidget::indexChanged( int curIndx )
8585
8686 if ( offset != 0 )
8787 {
88- QgsDebugMsg ( QString ( " curIndx : %1" ).arg ( curIndx ) );
89- QgsDebugMsg ( QString ( " offset : %1" ).arg ( offset ) );
90- QgsDebugMsg ( QString ( " curCount: %1" ).arg ( curCount ) );
88+ QgsDebugMsgLevel ( QString ( " curIndx : %1" ).arg ( curIndx ), 4 );
89+ QgsDebugMsgLevel ( QString ( " offset : %1" ).arg ( offset ), 4 );
90+ QgsDebugMsgLevel ( QString ( " curCount: %1" ).arg ( curCount ), 4 );
9191 if ( lastRedo )
9292 {
93- QgsDebugMsg ( QString ( " lastRedo: true" ) );
93+ QgsDebugMsgLevel ( QString ( " lastRedo: true" ), 4 );
9494 }
9595 }
9696
@@ -100,7 +100,6 @@ void QgsUndoWidget::indexChanged( int curIndx )
100100 {
101101 if ( mMapCanvas )
102102 {
103- QgsDebugMsg ( QString ( " trigger redraw" ) );
104103 mMapCanvas ->refresh ();
105104 }
106105 }
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ bool QgsVectorLayerEditBuffer::isModified() const
5353
5454void QgsVectorLayerEditBuffer::undoIndexChanged ( int index )
5555{
56- QgsDebugMsg ( QString ( " undo index changed %1" ).arg ( index ) );
56+ QgsDebugMsgLevel ( QString ( " undo index changed %1" ).arg ( index ), 4 );
5757 Q_UNUSED ( index );
5858 emit layerModified ();
5959}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature( QgsVec
3333 // assign a temporary id to the feature (use negative numbers)
3434 addedIdLowWaterMark--;
3535
36- QgsDebugMsg ( " Assigned feature id " + QString::number ( addedIdLowWaterMark ) );
36+ QgsDebugMsgLevel ( " Assigned feature id " + QString::number ( addedIdLowWaterMark ), 4 );
3737
3838 // Force a feature ID (to keep other functions in QGIS happy,
3939 // providers will use their own new feature ID when we commit the new feature)
You can’t perform that action at this time.
0 commit comments