diff -r ff23d907f87b -r 34b86be88bf0 UI/EmailDialog.py --- 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)