ProjectPyramid/PyramidDialog.py

changeset 74
11587ae1122f
parent 71
8a78fab32c18
child 80
b39b70d147a9
--- a/ProjectPyramid/PyramidDialog.py	Sat Apr 26 17:12:15 2014 +0200
+++ b/ProjectPyramid/PyramidDialog.py	Fri Jul 11 19:01:33 2014 +0200
@@ -15,8 +15,8 @@
 
 import os
 
-from PyQt4.QtCore import QProcess, QTimer, pyqtSlot, Qt, QCoreApplication
-from PyQt4.QtGui import QDialog, QDialogButtonBox, QLineEdit, QTextEdit
+from PyQt5.QtCore import QProcess, QTimer, pyqtSlot, Qt, QCoreApplication
+from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QLineEdit, QTextEdit
 
 from E5Gui import E5MessageBox
 
@@ -170,8 +170,8 @@
             self.inputGroup.setEnabled(False)
             E5MessageBox.critical(
                 self,
-                self.trUtf8('Process Generation Error'),
-                self.trUtf8(
+                self.tr('Process Generation Error'),
+                self.tr(
                     'The process {0} could not be started. '
                     'Ensure, that it is in the search path.'
                 ).format(command))

eric ide

mercurial