UI/EmailDialog.py

changeset 882
34b86be88bf0
parent 880
52ed20236a1c
child 945
8cd4d08fa9f6
child 969
6ab98ee3c804
--- a/UI/EmailDialog.py	Sat Feb 05 19:55:33 2011 +0100
+++ b/UI/EmailDialog.py	Sun Feb 06 15:41:44 2011 +0100
@@ -15,7 +15,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E5Gui import E5MessageBox
+from E5Gui import E5MessageBox, E5FileDialog
 
 from .Ui_EmailDialog import Ui_EmailDialog
 
@@ -315,10 +315,9 @@
         """
         Private slot to handle the Add... button.
         """
-        fname = QFileDialog.getOpenFileName(
+        fname = E5FileDialog.getOpenFileName(
             self,
-            self.trUtf8("Attach file"),
-            options = QFileDialog.DontUseNativeDialog)
+            self.trUtf8("Attach file"))
         if fname:
             self.attachFile(fname, False)
         

eric ide

mercurial