UI/SplashScreen.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/UI/SplashScreen.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/UI/SplashScreen.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a splashscreen for eric5.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os.path
 import logging
 
@@ -27,7 +29,7 @@
         ericPic = QPixmap(os.path.join(getConfig('ericPixDir'), 'ericSplash.png'))
         self.labelAlignment = \
             Qt.Alignment(Qt.AlignBottom | Qt.AlignRight | Qt.AlignAbsolute)
-        super().__init__(ericPic)
+        super(SplashScreen, self).__init__(ericPic)
         self.show()
         QApplication.flush()
         
@@ -38,14 +40,14 @@
         @param msg message to be shown (string)
         """
         logging.debug(msg)
-        super().showMessage(msg, self.labelAlignment, QColor(Qt.white))
+        super(SplashScreen, self).showMessage(msg, self.labelAlignment, QColor(Qt.white))
         QApplication.processEvents()
         
     def clearMessage(self):
         """
         Public method to clear the message shown.
         """
-        super().clearMessage()
+        super(SplashScreen, self).clearMessage()
         QApplication.processEvents()
 
 

eric ide

mercurial