downloads: Remove safety check in on_reply_error
Probably not needed after the last commit.
This commit is contained in:
parent
252dc9a8bd
commit
9694b3b548
@ -590,9 +590,6 @@ class DownloadItem(QObject):
|
|||||||
if code == QNetworkReply.OperationCanceledError:
|
if code == QNetworkReply.OperationCanceledError:
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
if self.reply is None:
|
|
||||||
log.downloads.debug("QNetworkReply disappeared %s", self)
|
|
||||||
return
|
|
||||||
self._die(self.reply.errorString())
|
self._die(self.reply.errorString())
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
|
Loading…
Reference in New Issue
Block a user