forked from openlp/openlp
changed constructor
This commit is contained in:
parent
60833923dc
commit
cbaf8beb1d
@ -52,7 +52,7 @@ class ImageMediaItem(MediaManagerItem):
|
||||
|
||||
def __init__(self, parent, plugin):
|
||||
self.icon_path = u'images/image'
|
||||
MediaManagerItem.__init__(self, parent, plugin)
|
||||
super(ImageMediaItem, self).__init__(parent, plugin)
|
||||
self.quick_preview_allowed = True
|
||||
self.has_search = True
|
||||
self.manager = plugin.manager
|
||||
|
@ -60,7 +60,7 @@ class MediaMediaItem(MediaManagerItem):
|
||||
self.icon_path = u'images/image'
|
||||
self.background = False
|
||||
self.automatic = u''
|
||||
MediaManagerItem.__init__(self, parent, plugin)
|
||||
super(MediaMediaItem, self).__init__(parent, plugin)
|
||||
self.single_service_item = False
|
||||
self.has_search = True
|
||||
self.media_object = None
|
||||
|
Loading…
Reference in New Issue
Block a user