mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -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)
|
MINIMUM_SIZE = QSize(400, 500)
|
||||||
|
|
||||||
def __init__(self, *args):
|
def __init__(self, parent=None):
|
||||||
QGraphicsView.__init__(self, *args)
|
QGraphicsView.__init__(self, parent)
|
||||||
self.preferred_size = self.MINIMUM_SIZE
|
self.preferred_size = self.MINIMUM_SIZE
|
||||||
|
|
||||||
def minimumSizeHint(self):
|
def minimumSizeHint(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user