Use _die on QNetworkReply errors.
This commit is contained in:
parent
406f7b3b84
commit
40918bfc98
@ -353,7 +353,7 @@ class DownloadItem(QObject):
|
||||
if code == QNetworkReply.OperationCanceledError:
|
||||
return
|
||||
else:
|
||||
self.error.emit(self._reply.errorString())
|
||||
self._die(self._reply.errorString())
|
||||
|
||||
@pyqtSlot()
|
||||
def update_speed(self):
|
||||
|
Loading…
Reference in New Issue
Block a user