Skip to content
Permalink
Browse files
gml download: fix progress noise
  • Loading branch information
jef-n committed Jul 20, 2013
1 parent 87b7bd8 commit 09f1707d2643a071c1c8739446d78c572d55a552
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsgml.cpp
@@ -186,12 +186,13 @@ void QgsGml::setFinished( )

void QgsGml::handleProgressEvent( qint64 progress, qint64 totalSteps )
{
emit dataReadProgress( progress );
if ( totalSteps < 0 )
{
totalSteps = 0;
progress = 0;
}
emit totalStepsUpdate( totalSteps );
emit dataReadProgress( progress );
emit dataProgressAndSteps( progress, totalSteps );
}

0 comments on commit 09f1707

Please sign in to comment.