--- a/Preferences/ConfigurationPages/DebuggerPython3Page.py Sat Feb 05 19:55:33 2011 +0100 +++ b/Preferences/ConfigurationPages/DebuggerPython3Page.py Sun Feb 06 15:41:44 2011 +0100 @@ -8,9 +8,9 @@ """ from PyQt4.QtCore import pyqtSlot -from PyQt4.QtGui import QFileDialog from E5Gui.E5Completers import E5FileCompleter +from E5Gui import E5FileDialog from .ConfigurationPageBase import ConfigurationPageBase from .Ui_DebuggerPython3Page import Ui_DebuggerPython3Page @@ -83,12 +83,11 @@ """ Private slot to handle the Python interpreter selection. """ - file = QFileDialog.getOpenFileName( + file = E5FileDialog.getOpenFileName( self, self.trUtf8("Select Python interpreter for Debug Client"), self.interpreterEdit.text(), - "", - QFileDialog.DontUseNativeDialog) + "") if file: self.interpreterEdit.setText( @@ -99,12 +98,11 @@ """ Private slot to handle the Debug Client selection. """ - file = QFileDialog.getOpenFileName( + file = E5FileDialog.getOpenFileName( None, self.trUtf8("Select Debug Client"), self.debugClientEdit.text(), - self.trUtf8("Python Files (*.py *.py3)"), - QFileDialog.DontUseNativeDialog) + self.trUtf8("Python Files (*.py *.py3)")) if file: self.debugClientEdit.setText(