Skip to content

Commit

Permalink
gml download: fix progress noise
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 20, 2013
1 parent 87b7bd8 commit 09f1707
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsgml.cpp
Expand Up @@ -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 );
}

Expand Down

0 comments on commit 09f1707

Please sign in to comment.