tests/auto/languagechange/tst_languagechange.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/tests/auto/languagechange/tst_languagechange.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/tests/auto/languagechange/tst_languagechange.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -193,7 +193,7 @@
 #else
                     << "QFileSystemModel::Type::All other platforms"
 #endif
-                    << "QFileSystemModel::%1 KB"
+//                    << "QFileSystemModel::%1 KB"
                     << "QDialogButtonBox::Cancel"
                     << "QDialogButtonBox::Open"
                     << "QFileDialog::File &name:");
@@ -232,6 +232,7 @@
         QSKIP("The native file dialog is used on Mac OS", SkipSingle);
 #endif
         QFileDialog dlg;
+        dlg.setOption(QFileDialog::DontUseNativeDialog);
         QString tmpParentDir = QDir::tempPath() + "/languagechangetestdir";
         QString tmpDir = tmpParentDir + "/finaldir";
         QString fooName = tmpParentDir + "/foo";