eric7/DataViews/PyProfileDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
--- a/eric7/DataViews/PyProfileDialog.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/DataViews/PyProfileDialog.py	Sat May 22 18:51:46 2021 +0200
@@ -16,7 +16,7 @@
     QApplication
 )
 
-from E5Gui import E5MessageBox
+from E5Gui import EricMessageBox
 
 from .Ui_PyProfileDialog import Ui_PyProfileDialog
 import Utilities
@@ -239,7 +239,7 @@
         
         fname = "{0}.profile".format(self.basename)
         if not os.path.exists(fname):
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 self,
                 self.tr("Profile Results"),
                 self.tr("""<p>There is no profiling data"""
@@ -251,7 +251,7 @@
             with open(fname, 'rb') as f:
                 self.stats = pickle.load(f)     # secok
         except (OSError, pickle.PickleError, EOFError):
-            E5MessageBox.critical(
+            EricMessageBox.critical(
                 self,
                 self.tr("Loading Profiling Data"),
                 self.tr("""<p>The profiling data could not be"""

eric ide

mercurial