Deprecate :download-remove --all.
:download-clear should be used instead.
This commit is contained in:
parent
dc06787f83
commit
782f09488a
@ -976,10 +976,12 @@ class DownloadManager(QAbstractListModel):
|
||||
"""Remove the last/[count]th download from the list.
|
||||
|
||||
Args:
|
||||
all_: If given removes all finished downloads.
|
||||
all_: Deprecated argument for removing all finished downloads.
|
||||
count: The index of the download to cancel.
|
||||
"""
|
||||
if all_:
|
||||
message.warning(self._win_id, ":download-remove --all is "
|
||||
"deprecated - use :download-clear instead!")
|
||||
self.download_clear()
|
||||
else:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user