Skip to content

Commit

Permalink
Fix Qt warning caused by destructor of QgsNetworkContentFetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 19, 2014
1 parent 0c4e8e6 commit 8732cbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/qgsnetworkcontentfetcher.cpp
Expand Up @@ -37,7 +37,10 @@ QgsNetworkContentFetcher::~QgsNetworkContentFetcher()
//cancel running request
mReply->abort();
}
mReply->deleteLater();
if ( mReply )
{
mReply->deleteLater();
}
}

void QgsNetworkContentFetcher::fetchContent( const QUrl url )
Expand Down

0 comments on commit 8732cbf

Please sign in to comment.