This commit is contained in:
Florian Bruhin 2014-06-13 23:09:24 +02:00
parent ba108e89ac
commit 9b42617c76
2 changed files with 1 additions and 2 deletions

View File

@ -176,7 +176,6 @@ class DownloadItem(QObject):
os.remove(self.filename)
self.finished.emit()
def set_filename(self, filename):
"""Set the filename to save the download to.

View File

@ -88,7 +88,7 @@ class DownloadModel(QAbstractListModel):
data = QVariant()
return data
def flags(self, index):
def flags(self, _index):
"""Override flags so items aren't selectable.
The default would be Qt.ItemIsEnabled | Qt.ItemIsSelectable."""