Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 4922817
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, 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 )
Expand Down

0 comments on commit 4922817

Please sign in to comment.