From 5e2b7c310c2e928d5e064d77b84d588bd73dd750 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Thu, 18 Jul 2013 21:06:42 +0200 Subject: [PATCH] changed constructor --- openlp/plugins/presentations/lib/presentationtab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/presentations/lib/presentationtab.py b/openlp/plugins/presentations/lib/presentationtab.py index e46467403..f948c4583 100644 --- a/openlp/plugins/presentations/lib/presentationtab.py +++ b/openlp/plugins/presentations/lib/presentationtab.py @@ -42,7 +42,7 @@ class PresentationTab(SettingsTab): """ self.parent = parent self.controllers = controllers - SettingsTab.__init__(self, parent, title, visible_title, icon_path) + super(PresentationTab, self).__init__(parent, title, visible_title, icon_path) self.activated = False def setupUi(self): @@ -50,7 +50,7 @@ class PresentationTab(SettingsTab): Create the controls for the settings tab """ self.setObjectName(u'PresentationTab') - SettingsTab.setupUi(self) + super(PresentationTab, self).setupUi() self.controllers_group_box = QtGui.QGroupBox(self.left_column) self.controllers_group_box.setObjectName(u'controllers_group_box') self.controllers_layout = QtGui.QVBoxLayout(self.controllers_group_box)