diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-25 14:21:02 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-25 14:21:02 (GMT) |
commit | d393ab41a56ef96113fe7928ff30e2ea96825ff1 (patch) | |
tree | 10a889c6d8bc1027680d27f8fd8b360684ccc3b5 | |
parent | a30aa66726c1992a0b21b3663b8080661d899e13 (diff) | |
download | Qt-d393ab41a56ef96113fe7928ff30e2ea96825ff1.zip Qt-d393ab41a56ef96113fe7928ff30e2ea96825ff1.tar.gz Qt-d393ab41a56ef96113fe7928ff30e2ea96825ff1.tar.bz2 |
fix languagechange test
-rw-r--r-- | tests/auto/languagechange/tst_languagechange.cpp | 3 |
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"; |