diff -r 6d8d39753c82 -r 72b32daeb8d6 Preferences/ConfigurationPages/DebuggerGeneralPage.py --- a/Preferences/ConfigurationPages/DebuggerGeneralPage.py Mon Aug 30 20:16:34 2010 +0200 +++ b/Preferences/ConfigurationPages/DebuggerGeneralPage.py Tue Aug 31 12:17:02 2010 +0200 @@ -14,8 +14,8 @@ from PyQt4.QtNetwork import * from E5Gui.E5Application import e5App - from E5Gui.E5Completers import E5FileCompleter, E5DirCompleter +from E5Gui import E5MessageBox from .ConfigurationPageBase import ConfigurationPageBase from .Ui_DebuggerGeneralPage import Ui_DebuggerGeneralPage @@ -218,7 +218,7 @@ [QAbstractSocket.IPv4Protocol, QAbstractSocket.IPv6Protocol]: self.allowedHostsList.addItem(allowedHost) else: - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8("Add allowed host"), self.trUtf8("""<p>The entered address <b>{0}</b> is not""" """ a valid IP v4 or IP v6 address. Aborting...</p>""")\ @@ -248,7 +248,7 @@ [QAbstractSocket.IPv4Protocol, QAbstractSocket.IPv6Protocol]: self.allowedHostsList.currentItem().setText(allowedHost) else: - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8("Edit allowed host"), self.trUtf8("""<p>The entered address <b>{0}</b> is not""" """ a valid IP v4 or IP v6 address. Aborting...</p>""")\