Show tooltips with cover size in cover download selection dialog

This commit is contained in:
Kovid Goyal 2020-05-30 16:13:27 +05:30
parent 19de299830
commit 1e0901860b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -667,7 +667,7 @@ class CoversModel(QAbstractListModel): # {{{
return None
if role == Qt.DecorationRole:
return pmap
if role == Qt.DisplayRole:
if role == Qt.DisplayRole or role == Qt.ToolTipRole:
return text
if role == Qt.UserRole:
return waiting