changed constructor

This commit is contained in:
Andreas Preikschat 2013-07-18 13:15:17 +02:00
parent c4ead1185a
commit 2c167ca996

View File

@ -56,7 +56,7 @@ class ImageThread(QtCore.QThread):
``manager`` ``manager``
The image manager. The image manager.
""" """
QtCore.QThread.__init__(self, None) super(ImageThread, self).__init__(None)
self.image_manager = manager self.image_manager = manager
def run(self): def run(self):
@ -183,7 +183,7 @@ class ImageManager(QtCore.QObject):
""" """
Constructor for the image manager. Constructor for the image manager.
""" """
QtCore.QObject.__init__(self) super(ImageManager, self).__init__()
Registry().register(u'image_manager', self) Registry().register(u'image_manager', self)
current_screen = ScreenList().current current_screen = ScreenList().current
self.width = current_screen[u'size'].width() self.width = current_screen[u'size'].width()