Connect readyRead signal properly

This commit is contained in:
Florian Bruhin 2014-06-12 10:18:02 +02:00
parent a0d4429a32
commit 22a0639825

View File

@ -78,6 +78,7 @@ class DownloadItem(QObject):
reply.finished.connect(self.on_finished)
reply.finished.connect(self.finished)
reply.error.connect(self.on_error)
reply.readyRead.connect(self.on_ready_read)
self.timer = QTimer()
self.timer.timeout.connect(self.update_speed)
self.timer.setInterval(self.REFRESH_INTERVAL)