--- a/DataViews/PyProfileDialog.py Mon Aug 30 20:16:34 2010 +0200 +++ b/DataViews/PyProfileDialog.py Tue Aug 31 12:17:02 2010 +0200 @@ -13,6 +13,8 @@ from PyQt4.QtCore import * from PyQt4.QtGui import * +from E5Gui import E5MessageBox + from .Ui_PyProfileDialog import Ui_PyProfileDialog import Utilities @@ -218,7 +220,7 @@ self.stats = pickle.load(f) f.close() except (EnvironmentError, pickle.PickleError): - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8("Loading Profiling Data"), self.trUtf8("""<p>The profiling data could not be""" """ read from file <b>{0}</b>.</p>""") @@ -308,4 +310,4 @@ self.exclude = True self.filterItm.setText(self.trUtf8('Exclude Python Library')) self.__populateLists(False) - self.__finish() + self.__finish() \ No newline at end of file