forked from openlp/openlp
two missing qobject init's
This commit is contained in:
parent
53e5477eef
commit
5d947476ac
@ -69,6 +69,7 @@ class ImageManager(QtCore.QObject):
|
|||||||
log.info(u'Image Manager loaded')
|
log.info(u'Image Manager loaded')
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
QtCore.QObject.__init__(self)
|
||||||
self._cache = {}
|
self._cache = {}
|
||||||
self._thread_running = False
|
self._thread_running = False
|
||||||
self._cache_dirty = False
|
self._cache_dirty = False
|
||||||
|
@ -54,6 +54,7 @@ class SongImport(QtCore.QObject):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
self.manager = manager
|
self.manager = manager
|
||||||
|
QtCore.QObject.__init__(self)
|
||||||
if kwargs.has_key(u'filename'):
|
if kwargs.has_key(u'filename'):
|
||||||
self.import_source = kwargs[u'filename']
|
self.import_source = kwargs[u'filename']
|
||||||
elif kwargs.has_key(u'filenames'):
|
elif kwargs.has_key(u'filenames'):
|
||||||
|
Loading…
Reference in New Issue
Block a user