git-svn-id: http://svn.osgeo.org/qgis/trunk@15552 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2011-03-21 16:33:40 +00:00
parent 61fe50a0d6
commit ed75d6842c

View File

@ -307,7 +307,7 @@ void QgsSnappingDialog::addLayer( QgsMapLayer * theMapLayer )
void QgsSnappingDialog::layerWillBeRemoved( QString theLayerId ) void QgsSnappingDialog::layerWillBeRemoved( QString theLayerId )
{ {
QTreeWidgetItem *item; QTreeWidgetItem *item = 0;
for ( int i = 0; i < mLayerTreeWidget->topLevelItemCount(); ++i ) for ( int i = 0; i < mLayerTreeWidget->topLevelItemCount(); ++i )
{ {