Preferences/ConfigurationPages/DebuggerPythonPage.py

changeset 882
34b86be88bf0
parent 880
52ed20236a1c
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
diff -r ff23d907f87b -r 34b86be88bf0 Preferences/ConfigurationPages/DebuggerPythonPage.py
--- a/Preferences/ConfigurationPages/DebuggerPythonPage.py	Sat Feb 05 19:55:33 2011 +0100
+++ b/Preferences/ConfigurationPages/DebuggerPythonPage.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_DebuggerPythonPage import Ui_DebuggerPythonPage
@@ -79,12 +79,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(
@@ -95,12 +94,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 *.py2)"), 
-            QFileDialog.DontUseNativeDialog)
+            self.trUtf8("Python Files (*.py *.py2)"))
             
         if file:
             self.debugClientEdit.setText(

eric ide

mercurial