changed constructor

This commit is contained in:
Andreas Preikschat 2013-07-18 13:23:59 +02:00
parent 542cdd78cb
commit 0e480e389b
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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 = {}