forked from openlp/openlp
changed constructor
This commit is contained in:
parent
542cdd78cb
commit
0e480e389b
@ -52,7 +52,7 @@ class SettingsTab(QtGui.QWidget):
|
|||||||
``visible_title``
|
``visible_title``
|
||||||
The title of the tab, which is usually displayed on the tab.
|
The title of the tab, which is usually displayed on the tab.
|
||||||
"""
|
"""
|
||||||
QtGui.QWidget.__init__(self, parent)
|
super(SettingsTab, self).__init__(parent)
|
||||||
self.tab_title = title
|
self.tab_title = title
|
||||||
self.tab_title_visible = visible_title
|
self.tab_title_visible = visible_title
|
||||||
self.settings_section = self.tab_title.lower()
|
self.settings_section = self.tab_title.lower()
|
||||||
|
@ -47,7 +47,7 @@ class OpenLPToolbar(QtGui.QToolBar):
|
|||||||
"""
|
"""
|
||||||
Initialise the toolbar.
|
Initialise the toolbar.
|
||||||
"""
|
"""
|
||||||
QtGui.QToolBar.__init__(self, parent)
|
super(OpenLPToolbar, self).__init__(parent)
|
||||||
# useful to be able to reuse button icons...
|
# useful to be able to reuse button icons...
|
||||||
self.setIconSize(QtCore.QSize(20, 20))
|
self.setIconSize(QtCore.QSize(20, 20))
|
||||||
self.actions = {}
|
self.actions = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user