mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Merge branch 'lrf-viewer-fix' of https://github.com/qykth-git/calibre
This commit is contained in:
commit
6d4114f473
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user