unbreak convert dialog, from upstream
spotted by deraadt@, ok sthen@ (MAINTAINER)
This commit is contained in:
parent
109a48d4a3
commit
895fe0e5a8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.41 2015/03/27 08:14:15 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.42 2015/08/20 09:44:13 jasper Exp $
|
||||
|
||||
COMMENT = ebook management application
|
||||
|
||||
@ -7,7 +7,7 @@ DISTNAME = calibre-1.48.0
|
||||
CATEGORIES = textproc
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=calibre/}
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
REVISION = 4
|
||||
REVISION = 5
|
||||
|
||||
HOMEPAGE = http://calibre-ebook.com/
|
||||
|
||||
|
16
textproc/calibre/patches/patch-src_calibre_gui2_widgets_py
Normal file
16
textproc/calibre/patches/patch-src_calibre_gui2_widgets_py
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_calibre_gui2_widgets_py,v 1.1 2015/08/20 09:44:13 jasper Exp $
|
||||
|
||||
unbreak convert dialog with newer py-qt4
|
||||
https://github.com/kovidgoyal/calibre/commit/72d47ba9377d70e786bf3d93b323544188c894
|
||||
|
||||
--- src/calibre/gui2/widgets.py.orig Thu Aug 20 10:08:48 2015
|
||||
+++ src/calibre/gui2/widgets.py Thu Aug 20 10:08:57 2015
|
||||
@@ -289,7 +289,7 @@ class ImageView(QWidget, ImageDropMixin): # {{{
|
||||
def __init__(self, parent=None, show_size_pref_name=None, default_show_size=False):
|
||||
QWidget.__init__(self, parent)
|
||||
self.show_size_pref_name = ('show_size_on_cover_' + show_size_pref_name) if show_size_pref_name else None
|
||||
- self._pixmap = QPixmap(self)
|
||||
+ self._pixmap = QPixmap()
|
||||
self.setMinimumSize(QSize(150, 200))
|
||||
ImageDropMixin.__init__(self)
|
||||
self.draw_border = True
|
Loading…
Reference in New Issue
Block a user