Skip to content

Commit 338c70f

Browse files
committedApr 7, 2013
Merge pull request #506 from vinayan/fixdupes
[FIX #7473] Topology checker-must not have duplicates does not work
2 parents 2bfffaa + 73c74ac commit 338c70f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/plugins/topology/topolTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ ErrorList topolTest::checkDuplicates( double tolerance, QgsVectorLayer *layer1,
366366
QgsGeometry* canvasExtentPoly = QgsGeometry::fromWkt( theQgsInterface->mapCanvas()->extent().asWktPolygon() );
367367

368368

369-
QList<FeatureLayer>::Iterator it;
370-
QList<FeatureLayer>::ConstIterator FeatureListEnd = mFeatureList1.end();
371-
for ( it = mFeatureList1.begin(); it != FeatureListEnd; ++it )
369+
QMap<int, FeatureLayer>::Iterator it;
370+
QMap<int, FeatureLayer>::ConstIterator FeatureListEnd = mFeatureMap2.end();
371+
for ( it = mFeatureMap2.begin(); it != FeatureListEnd; ++it )
372372
{
373373
if ( !( ++i % 100 ) )
374374
emit progress( i );

0 commit comments

Comments
 (0)
Please sign in to comment.