Skip to content

Commit

Permalink
Merge pull request #506 from vinayan/fixdupes
Browse files Browse the repository at this point in the history
[FIX #7473] Topology checker-must not have duplicates does not work
  • Loading branch information
mach0 committed Apr 7, 2013
2 parents 2bfffaa + 73c74ac commit 338c70f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/topology/topolTest.cpp
Expand Up @@ -366,9 +366,9 @@ ErrorList topolTest::checkDuplicates( double tolerance, QgsVectorLayer *layer1,
QgsGeometry* canvasExtentPoly = QgsGeometry::fromWkt( theQgsInterface->mapCanvas()->extent().asWktPolygon() );


QList<FeatureLayer>::Iterator it;
QList<FeatureLayer>::ConstIterator FeatureListEnd = mFeatureList1.end();
for ( it = mFeatureList1.begin(); it != FeatureListEnd; ++it )
QMap<int, FeatureLayer>::Iterator it;
QMap<int, FeatureLayer>::ConstIterator FeatureListEnd = mFeatureMap2.end();
for ( it = mFeatureMap2.begin(); it != FeatureListEnd; ++it )
{
if ( !( ++i % 100 ) )
emit progress( i );
Expand Down

0 comments on commit 338c70f

Please sign in to comment.