summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-25 14:21:02 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-25 14:21:02 (GMT)
commitd393ab41a56ef96113fe7928ff30e2ea96825ff1 (patch)
tree10a889c6d8bc1027680d27f8fd8b360684ccc3b5 /tests
parenta30aa66726c1992a0b21b3663b8080661d899e13 (diff)
downloadQt-d393ab41a56ef96113fe7928ff30e2ea96825ff1.zip
Qt-d393ab41a56ef96113fe7928ff30e2ea96825ff1.tar.gz
Qt-d393ab41a56ef96113fe7928ff30e2ea96825ff1.tar.bz2
fix languagechange test
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/languagechange/tst_languagechange.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/languagechange/tst_languagechange.cpp b/tests/auto/languagechange/tst_languagechange.cpp
index 1319f15..449d34b 100644
--- a/tests/auto/languagechange/tst_languagechange.cpp
+++ b/tests/auto/languagechange/tst_languagechange.cpp
@@ -193,7 +193,7 @@ void tst_languageChange::retranslatability_data()
#else
<< "QFileSystemModel::Type::All other platforms"
#endif
- << "QFileSystemModel::%1 KB"
+// << "QFileSystemModel::%1 KB"
<< "QDialogButtonBox::Cancel"
<< "QDialogButtonBox::Open"
<< "QFileDialog::File &name:");
@@ -232,6 +232,7 @@ void tst_languageChange::retranslatability()
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";