E5Gui/E5MainWindow.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3539
0c2dc1446ebf
--- a/E5Gui/E5MainWindow.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/E5Gui/E5MainWindow.py	Thu Apr 03 23:05:31 2014 +0200
@@ -55,8 +55,8 @@
             except (IOError, OSError) as msg:
                 E5MessageBox.warning(
                     self,
-                    self.trUtf8("Loading Style Sheet"),
-                    self.trUtf8(
+                    self.tr("Loading Style Sheet"),
+                    self.tr(
                         """<p>The Qt Style Sheet file <b>{0}</b> could"""
                         """ not be read.<br>Reason: {1}</p>""")
                     .format(styleSheetFile, str(msg)))

eric ide

mercurial