mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 21:15:26 +01:00
...
This commit is contained in:
parent
9d025de990
commit
e2190da060
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
from calibre.constants import __appname__, numeric_version
|
||||
from calibre.utils.monotonic import monotonic
|
||||
from polyglot.builtins import unicode_type
|
||||
|
||||
|
||||
class SplashScreen(QSplashScreen):
|
||||
|
|
@ -36,7 +37,7 @@ def __init__(self, develop=False):
|
|||
f.setPixelSize(self.total_height)
|
||||
f.setItalic(True), f.setBold(True)
|
||||
f = QFontMetrics(f)
|
||||
self.num_ch = str(max(3, numeric_version[0]))
|
||||
self.num_ch = unicode_type(max(3, numeric_version[0]))
|
||||
self.footer_font = f = QFont()
|
||||
f.setPointSize(self.FOOTER_SIZE)
|
||||
f.setItalic(True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue