Skip to content

Commit ed75d68

Browse files
author
jef
committed
fix #3656
git-svn-id: http://svn.osgeo.org/qgis/trunk@15552 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 61fe50a commit ed75d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgssnappingdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ void QgsSnappingDialog::addLayer( QgsMapLayer * theMapLayer )
307307

308308
void QgsSnappingDialog::layerWillBeRemoved( QString theLayerId )
309309
{
310-
QTreeWidgetItem *item;
310+
QTreeWidgetItem *item = 0;
311311

312312
for ( int i = 0; i < mLayerTreeWidget->topLevelItemCount(); ++i )
313313
{

0 commit comments

Comments
 (0)