Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py

changeset 537
72b32daeb8d6
parent 248
f4561c24989a
child 736
d2433b433793
diff -r 6d8d39753c82 -r 72b32daeb8d6 Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py
--- a/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Tue Aug 31 12:17:02 2010 +0200
@@ -11,6 +11,7 @@
 from PyQt4.QtGui import *
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from .Ui_SvnUrlSelectionDialog import Ui_SvnUrlSelectionDialog
 
@@ -45,7 +46,7 @@
         
         reposURL = self.vcs.svnGetReposName(path)
         if reposURL is None:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(self,
                 self.trUtf8("Subversion Error"),
                 self.trUtf8("""The URL of the project repository could not be"""
                     """ retrieved from the working copy. The operation will"""
@@ -57,7 +58,7 @@
             # determine the base path of the project in the repository
             rx_base = QRegExp('(.+/)(trunk|tags|branches).*')
             if not rx_base.exactMatch(reposURL):
-                QMessageBox.critical(None,
+                E5MessageBox.critical(self,
                     self.trUtf8("Subversion Error"),
                     self.trUtf8("""The URL of the project repository has an"""
                         """ invalid format. The list operation will"""

eric ide

mercurial