mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Properly abort the connections on timeout
This commit is contained in:
parent
4653f771a6
commit
1efb4e494d
@ -68,7 +68,7 @@ void NetworkTimeout::timerEvent(QTimerEvent *ev)
|
||||
return;
|
||||
QNetworkReply *reply = static_cast<QNetworkReply*>(parent());
|
||||
if (reply->isRunning())
|
||||
reply->close();
|
||||
reply->abort();
|
||||
_timer.stop();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user