Fix #1970027 [[Enhancement] Remove border around Tag browser](https://bugs.launchpad.net/calibre/+bug/1970027)

This commit is contained in:
Kovid Goyal 2022-04-23 15:10:59 +05:30
parent 0d9c8bba54
commit 3e06e32861
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -627,7 +627,7 @@ class TagBrowserWidget(QFrame): # {{{
def __init__(self, parent):
QFrame.__init__(self, parent)
self.setFrameStyle(QFrame.Shape.NoFrame if gprefs['tag_browser_old_look'] else QFrame.Shape.StyledPanel)
self.setFrameStyle(QFrame.Shape.NoFrame)
self._parent = parent
self._layout = QVBoxLayout(self)
self._layout.setContentsMargins(0,0,0,0)