Merge branch 'lrf-viewer-fix' of https://github.com/qykth-git/calibre

This commit is contained in:
Kovid Goyal 2024-07-26 12:47:58 +05:30
commit 6d4114f473
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -8,8 +8,8 @@ class BookView(QGraphicsView):
MINIMUM_SIZE = QSize(400, 500)
def __init__(self, *args):
QGraphicsView.__init__(self, *args)
def __init__(self, parent=None):
QGraphicsView.__init__(self, parent)
self.preferred_size = self.MINIMUM_SIZE
def minimumSizeHint(self):