mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
08f79d86a3
@ -450,7 +450,7 @@ class Separator(QWidget): # {{{
|
|||||||
The height of the separator is computed using this widget,
|
The height of the separator is computed using this widget,
|
||||||
'''
|
'''
|
||||||
QWidget.__init__(self, parent)
|
QWidget.__init__(self, parent)
|
||||||
self.bcol = QColor(QPalette.ColorRole.Text)
|
self.bcol = QApplication.instance().palette().color(QPalette.ColorRole.Text)
|
||||||
self.update_brush()
|
self.update_brush()
|
||||||
self.widget_for_height = widget_for_height
|
self.widget_for_height = widget_for_height
|
||||||
self.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.MinimumExpanding)
|
self.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.MinimumExpanding)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user