This commit is contained in:
Kovid Goyal 2022-01-21 15:26:07 +05:30
parent 73a2648bfa
commit 20e76a13b9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -546,11 +546,11 @@ class Delegate(QStyledItemDelegate):
<p>{description}</p>
<p>Version: {version} Number of users: {usage}</p>
<p><i>Right click to visit theme homepage</i></p>
'''.format(title=theme.get('title', _('Unknown')), author=theme.get('author', _('Unknown')),
''').format(title=theme.get('title', _('Unknown')), author=theme.get('author', _('Unknown')),
number=theme.get('number', 0), description=theme.get('description', ''),
size=human_readable(theme.get('compressed-size', 0)), version=theme.get('version', 1),
usage=theme.get('usage', 0),
)))
))
painter.drawStaticText(COVER_SIZE[0] + self.SPACING, option.rect.top() + self.SPACING, theme['static-text'])
painter.restore()