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 )
85
85
86
86
if ( offset != 0 )
87
87
{
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 );
91
91
if ( lastRedo )
92
92
{
93
- QgsDebugMsg ( QString ( " lastRedo: true" ) );
93
+ QgsDebugMsgLevel ( QString ( " lastRedo: true" ), 4 );
94
94
}
95
95
}
96
96
@@ -100,7 +100,6 @@ void QgsUndoWidget::indexChanged( int curIndx )
100
100
{
101
101
if ( mMapCanvas )
102
102
{
103
- QgsDebugMsg ( QString ( " trigger redraw" ) );
104
103
mMapCanvas ->refresh ();
105
104
}
106
105
}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ bool QgsVectorLayerEditBuffer::isModified() const
53
53
54
54
void QgsVectorLayerEditBuffer::undoIndexChanged ( int index )
55
55
{
56
- QgsDebugMsg ( QString ( " undo index changed %1" ).arg ( index ) );
56
+ QgsDebugMsgLevel ( QString ( " undo index changed %1" ).arg ( index ), 4 );
57
57
Q_UNUSED ( index );
58
58
emit layerModified ();
59
59
}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature( QgsVec
33
33
// assign a temporary id to the feature (use negative numbers)
34
34
addedIdLowWaterMark--;
35
35
36
- QgsDebugMsg ( " Assigned feature id " + QString::number ( addedIdLowWaterMark ) );
36
+ QgsDebugMsgLevel ( " Assigned feature id " + QString::number ( addedIdLowWaterMark ), 4 );
37
37
38
38
// Force a feature ID (to keep other functions in QGIS happy,
39
39
// 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