Fix #1853673 [[Enhancement] Remove frame around cover in the Edit metadata window](https://bugs.launchpad.net/calibre/+bug/1853673)

This commit is contained in:
Kovid Goyal 2019-11-28 14:03:32 +05:30
parent d717e5d368
commit 246534e5e5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1093,6 +1093,7 @@ class Cover(ImageView): # {{{
ImageView.__init__(self, parent, show_size_pref_name='edit_metadata_cover_widget', default_show_size=True) ImageView.__init__(self, parent, show_size_pref_name='edit_metadata_cover_widget', default_show_size=True)
self.dialog = parent self.dialog = parent
self._cdata = None self._cdata = None
self.draw_border = False
self.cdata_before_trim = None self.cdata_before_trim = None
self.cover_changed.connect(self.set_pixmap_from_data) self.cover_changed.connect(self.set_pixmap_from_data)