Skip to content
Permalink
Browse files

fix #8159

  • Loading branch information
jef-n committed Jun 25, 2013
1 parent 9d2b8f2 commit 24bbd485a90dea3de0e26c0535c959fff1429768
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/core/qgsnetworkaccessmanager.cpp
@@ -132,11 +132,8 @@ QNetworkReply *QgsNetworkAccessManager::createRequest( QNetworkAccessManager::Op
emit requestCreated( reply );

// abort request, when network timeout happens
QTimer *timer = new QTimer( reply );
connect( timer, SIGNAL( timeout() ), this, SLOT( abortRequest() ) );

QSettings s;
timer->start( s.value( "/qgis/networkAndProxy/networkTimeout", "20000" ).toInt() );
QTimer::singleShot( s.value( "/qgis/networkAndProxy/networkTimeout", "20000" ).toInt(), this, SLOT( abortRequested() ) );

return reply;
}

0 comments on commit 24bbd48

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