Skip to content
Permalink
Browse files
[bugfix] Fixes an unreported crash in WFS
  • Loading branch information
elpaso committed May 23, 2017
1 parent a14ad32 commit fe9594f66847573adc6538c280c0804b8c249f6c
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/providers/wfs/qgswfsfeatureiterator.cpp
@@ -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 )

0 comments on commit fe9594f

Please sign in to comment.