Tools/TRPreviewer.py

changeset 880
52ed20236a1c
parent 805
83ca4d1ff648
child 882
34b86be88bf0
diff -r a61710d5bbbc -r 52ed20236a1c Tools/TRPreviewer.py
--- a/Tools/TRPreviewer.py	Sat Feb 05 14:21:37 2011 +0100
+++ b/Tools/TRPreviewer.py	Sat Feb 05 16:32:34 2011 +0100
@@ -342,7 +342,8 @@
             None,
             self.trUtf8("Select UI files"),
             "",
-            self.trUtf8("Qt User-Interface Files (*.ui)"))
+            self.trUtf8("Qt User-Interface Files (*.ui)"), 
+            QFileDialog.DontUseNativeDialog)
         
         for fileName in fileNameList:
             self.preview.loadWidget(fileName)
@@ -357,7 +358,8 @@
             None,
             self.trUtf8("Select translation files"),
             "",
-            self.trUtf8("Qt Translation Files (*.qm)"))
+            self.trUtf8("Qt Translation Files (*.qm)"), 
+            QFileDialog.DontUseNativeDialog)
         
         first = True
         for fileName in fileNameList:

eric ide

mercurial