Merge branch 'Carpetsmoker-downloads-cpu'

This commit is contained in:
Florian Bruhin 2015-06-07 21:51:39 +02:00
commit 4a4856c176

View File

@ -148,7 +148,7 @@ class DownloadItemStats(QObject):
@pyqtSlot(int, int) @pyqtSlot(int, int)
def on_download_progress(self, bytes_done, bytes_total): def on_download_progress(self, bytes_done, bytes_total):
"""Upload local variables when the download progress changed. """Update local variables when the download progress changed.
Args: Args:
bytes_done: How many bytes are downloaded. bytes_done: How many bytes are downloaded.
@ -158,7 +158,6 @@ class DownloadItemStats(QObject):
bytes_total = None bytes_total = None
self.done = bytes_done self.done = bytes_done
self.total = bytes_total self.total = bytes_total
self.updated.emit()
class DownloadItem(QObject): class DownloadItem(QObject):