Project/ProjectInterfacesBrowser.py

changeset 536
6d8d39753c82
parent 501
5c615a85241a
child 537
72b32daeb8d6
--- a/Project/ProjectInterfacesBrowser.py	Mon Aug 30 19:03:34 2010 +0200
+++ b/Project/ProjectInterfacesBrowser.py	Mon Aug 30 20:16:34 2010 +0200
@@ -14,6 +14,7 @@
 from PyQt4.QtGui import *
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from .ProjectBrowserModel import ProjectBrowserFileItem, \
     ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \
@@ -450,12 +451,12 @@
             for file in fileList:
                 self.project.appendFile(file)
             if not self.noDialog:
-                QMessageBox.information(None,
+                E5MessageBox.information(self,
                     self.trUtf8("Interface Compilation"),
                     self.trUtf8("The compilation of the interface file was successful."))
         else:
             if not self.noDialog:
-                QMessageBox.information(None,
+                E5MessageBox.information(self,
                     self.trUtf8("Interface Compilation"),
                     self.trUtf8("The compilation of the interface file failed."))
         self.compileProc = None
@@ -576,4 +577,4 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("corbaPage")
+        e5App().getObject("UserInterface").showPreferences("corbaPage")
\ No newline at end of file

eric ide

mercurial