Plugins/AboutPlugin/AboutDialog.py

changeset 3656
441956d8fce5
parent 3178
f25fc1364c88
child 3670
f0cb7579c0b4
--- a/Plugins/AboutPlugin/AboutDialog.py	Sun Jun 29 14:00:30 2014 +0200
+++ b/Plugins/AboutPlugin/AboutDialog.py	Sun Jun 29 20:13:56 2014 +0200
@@ -9,7 +9,8 @@
 
 from __future__ import unicode_literals
 
-from PyQt4.QtGui import QApplication, QDialog
+from PyQt5.QtCore import QCoreApplication
+from PyQt5.QtWidgets import QDialog
 
 from .Ui_AboutDialog import Ui_AboutDialog
 
@@ -21,7 +22,7 @@
 
 titleText = "<b>{0} - {1}</b>".format(UI.Info.Program, UI.Info.Version)
 
-aboutText = QApplication.translate(
+aboutText = QCoreApplication.translate(
     "AboutDialog",
     """<p>{0} is an Integrated Development Environment for the Python"""
     """ programming language. It is written using the PyQt Python bindings"""

eric ide

mercurial