VCS/VersionControl.py

changeset 537
72b32daeb8d6
parent 501
5c615a85241a
child 791
9ec2ac20e54e
diff -r 6d8d39753c82 -r 72b32daeb8d6 VCS/VersionControl.py
--- a/VCS/VersionControl.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/VCS/VersionControl.py	Tue Aug 31 12:17:02 2010 +0200
@@ -12,7 +12,9 @@
 
 from PyQt4.QtCore import QObject, QThread, QMutex, QProcess, \
     Qt, pyqtSignal
-from PyQt4.QtGui import QApplication, QMessageBox
+from PyQt4.QtGui import QApplication
+
+from E5Gui import E5MessageBox
 
 import Preferences
 
@@ -34,7 +36,7 @@
     canBeCommitted = 1  # Indicates that a file/directory is in the vcs.
     canBeAdded = 2      # Indicates that a file/directory is not in vcs.
     
-    def __init__(self, parent=None, name=None):
+    def __init__(self, parent = None, name = None):
         """
         Constructor
         
@@ -528,7 +530,7 @@
         proc.start(program, arguments)
         procStarted = proc.waitForStarted()
         if not procStarted:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(None,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     'The process {0} could not be started. '

eric ide

mercurial