Remove border from category panels in the preferences dialog on windows

This commit is contained in:
Kovid Goyal 2011-04-23 20:06:49 -06:00
parent 2b6561b7aa
commit 82a185744a

View File

@ -87,6 +87,8 @@ class Category(QWidget): # {{{
self.plugins = plugins
self.bar = QToolBar(self)
self.bar.setStyleSheet(
'QToolBar { border: none; background: none }')
self.bar.setIconSize(QSize(48, 48))
self.bar.setMovable(False)
self.bar.setFloatable(False)