Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[bugfix] Fixes an unreported crash in WFS
  • Loading branch information
elpaso committed May 23, 2017
1 parent a14ad32 commit fe9594f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/providers/wfs/qgswfsfeatureiterator.cpp
Expand Up @@ -174,7 +174,11 @@ void QgsWFSFeatureDownloader::createProgressDialog()
connect( mProgressDialog, &QProgressDialog::canceled, this, &QgsWFSFeatureDownloader::stop );
connect( mProgressDialog, &QWidget::hide, this, &QgsWFSFeatureDownloader::hideProgressDialog );

connect( this, &QgsWFSFeatureDownloader::updateProgress, mProgressDialog, &QProgressDialog::setValue );
// Make sure the progress dialog has not been deleted by another thread
if ( mProgressDialog )
{
connect( this, &QgsWFSFeatureDownloader::updateProgress, mProgressDialog, &QProgressDialog::setValue );
}
}

QString QgsWFSFeatureDownloader::sanitizeFilter( QString filter )
Expand Down

0 comments on commit fe9594f

Please sign in to comment.