Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
nyalldawson committed Nov 13, 2018
1 parent df2d660 commit a048306f20a2e5f1bfb9bdd1c6cb668f7a1f64e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsblockingnetworkrequest.cpp
@@ -103,7 +103,7 @@ QgsBlockingNetworkRequest::ErrorCode QgsBlockingNetworkRequest::doRequest( QgsBl
if ( mFeedback )
connect( mFeedback, &QgsFeedback::canceled, this, &QgsBlockingNetworkRequest::abort );

std::function<void()> downloaderFunction = [ this, request, &waitConditionMutex, &waitCondition, &threadFinished, &success, feedback ]()
std::function<void()> downloaderFunction = [ this, request, &waitConditionMutex, &waitCondition, &threadFinished, &success ]()
{
if ( QThread::currentThread() != QgsApplication::instance()->thread() )
QgsNetworkAccessManager::instance( Qt::DirectConnection );

0 comments on commit a048306

Please sign in to comment.
You can’t perform that action at this time.