forked from openlp/openlp
changed constructor
This commit is contained in:
parent
2c167ca996
commit
e8e003d6f8
@ -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:
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user