Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 537
72b32daeb8d6
parent 495
b31b0bffa5b0
child 538
7f1a56e80124
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue Aug 31 12:17:02 2010 +0200
@@ -15,6 +15,7 @@
 from PyQt4.QtGui import QMessageBox, QApplication, QDialog, QInputDialog, QFileDialog
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from QScintilla.MiniEditor import MiniEditor
 
@@ -199,7 +200,7 @@
         """
         success = self.vcsImport(vcsDataDict, project.ppath)[0]
         if not success:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(self.__ui,
                 self.trUtf8("Create project repository"),
                 self.trUtf8("""The project repository could not be created."""))
         else:
@@ -2046,4 +2047,4 @@
         @param interval check interval for the monitor thread in seconds (integer)
         @return reference to the monitor thread (QThread)
         """
-        return HgStatusMonitorThread(interval, project, self)
+        return HgStatusMonitorThread(interval, project, self)
\ No newline at end of file

eric ide

mercurial