removed extra whitespace
This commit is contained in:
parent
5a34fdfd0c
commit
af70e783b6
@ -1012,12 +1012,10 @@ class DownloadManager(QAbstractListModel):
|
|||||||
if not self.downloads:
|
if not self.downloads:
|
||||||
self._update_timer.stop()
|
self._update_timer.stop()
|
||||||
|
|
||||||
|
|
||||||
def remove_item_delayed(self, download, delay):
|
def remove_item_delayed(self, download, delay):
|
||||||
"""Remove a given download after a short delay."""
|
"""Remove a given download after a short delay."""
|
||||||
QTimer.singleShot(delay, functools.partial(self.remove_item, download))
|
QTimer.singleShot(delay, functools.partial(self.remove_item, download))
|
||||||
|
|
||||||
|
|
||||||
def remove_items(self, downloads):
|
def remove_items(self, downloads):
|
||||||
"""Remove an iterable of downloads."""
|
"""Remove an iterable of downloads."""
|
||||||
# On the first pass, we only generate the indices so we get the
|
# On the first pass, we only generate the indices so we get the
|
||||||
|
Loading…
Reference in New Issue
Block a user