two missing qobject init's

This commit is contained in:
Mattias Põldaru 2011-02-20 02:05:50 +02:00
parent 53e5477eef
commit 5d947476ac
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class ImageManager(QtCore.QObject):
log.info(u'Image Manager loaded')
def __init__(self):
QtCore.QObject.__init__(self)
self._cache = {}
self._thread_running = False
self._cache_dirty = False

View File

@ -54,6 +54,7 @@ class SongImport(QtCore.QObject):
"""
self.manager = manager
QtCore.QObject.__init__(self)
if kwargs.has_key(u'filename'):
self.import_source = kwargs[u'filename']
elif kwargs.has_key(u'filenames'):