changed constructor

This commit is contained in:
Andreas Preikschat 2013-07-18 13:17:40 +02:00
parent 2c167ca996
commit e8e003d6f8
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class OpenLPDockWidget(QtGui.QDockWidget):
Initialise the DockWidget
"""
log.debug(u'Initialise the %s widget' % name)
QtGui.QDockWidget.__init__(self, parent)
super(OpenLPDockWidget, self).__init__(parent)
if name:
self.setObjectName(name)
if icon:

View File

@ -44,7 +44,7 @@ class ListWidgetWithDnD(QtGui.QListWidget):
"""
Initialise the list widget
"""
QtGui.QListWidget.__init__(self, parent)
super(ListWidgetWithDnD, self).__init__(parent)
self.mimeDataText = name
assert(self.mimeDataText)