Move MAX_REDIRECTS attribute back to DownloadItem.

Fixes #293.
This commit is contained in:
Florian Bruhin 2014-12-01 06:55:15 +01:00
parent fea35156bc
commit f22c00c64d

View File

@ -62,7 +62,6 @@ class DownloadItemStats(QObject):
the speed the last time.
"""
MAX_REDIRECTS = 10
SPEED_REFRESH_INTERVAL = 500
SPEED_AVG_WINDOW = 30
@ -177,6 +176,7 @@ class DownloadItem(QObject):
arg 1: The old QNetworkReply.
"""
MAX_REDIRECTS = 10
data_changed = pyqtSignal()
finished = pyqtSignal()
error = pyqtSignal(str)