Skip to content
Permalink
Browse files
[bugfix] Fixes an unreported crash in WFS (backported from master)
  (cherry-picked from commit fe9594f)
  • Loading branch information
elpaso committed May 26, 2017
1 parent 7e089a1 commit 492281702fece4e99ce8b5941fc5786428190022
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/providers/wfs/qgswfsfeatureiterator.cpp
@@ -174,7 +174,11 @@ void QgsWFSFeatureDownloader::createProgressDialog()
connect( mProgressDialog, SIGNAL( canceled() ), this, SLOT( stop() ) );
connect( mProgressDialog, SIGNAL( hide() ), this, SLOT( hideProgressDialog() ) );

connect( this, SIGNAL( updateProgress( int ) ), mProgressDialog, SLOT( setValue( int ) ) );
// Make sure the progress dialog has not been deleted by another thread
if ( mProgressDialog )
{
connect( this, SIGNAL( updateProgress( int ) ), mProgressDialog, SLOT( setValue( int ) ) );
}
}

QString QgsWFSFeatureDownloader::sanitizeFilter( QString filter )

0 comments on commit 4922817

Please sign in to comment.