From 2c167ca9960974d42a800d48897f5150027b05fa Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Thu, 18 Jul 2013 13:15:17 +0200 Subject: [PATCH] changed constructor --- openlp/core/lib/imagemanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/lib/imagemanager.py b/openlp/core/lib/imagemanager.py index dc535a665..bc0d99636 100644 --- a/openlp/core/lib/imagemanager.py +++ b/openlp/core/lib/imagemanager.py @@ -56,7 +56,7 @@ class ImageThread(QtCore.QThread): ``manager`` The image manager. """ - QtCore.QThread.__init__(self, None) + super(ImageThread, self).__init__(None) self.image_manager = manager def run(self): @@ -183,7 +183,7 @@ class ImageManager(QtCore.QObject): """ Constructor for the image manager. """ - QtCore.QObject.__init__(self) + super(ImageManager, self).__init__() Registry().register(u'image_manager', self) current_screen = ScreenList().current self.width = current_screen[u'size'].width()