Fix two missing objects

bzr-revno: 1316
This commit is contained in:
2011-02-20 08:03:40 +00:00 committed by Tim Bentley
commit 73fd616962
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'):