diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-10-05 17:34:33 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-06 03:14:01 (GMT) |
commit | d2a547714ab900d1c6e9a62e09ad082b64ab173b (patch) | |
tree | f96418c630abdd74ec60f4dcecbace3086475d04 /tests | |
parent | b464f8c1736e8120a8c434a962f81146180cd10c (diff) | |
download | Qt-d2a547714ab900d1c6e9a62e09ad082b64ab173b.zip Qt-d2a547714ab900d1c6e9a62e09ad082b64ab173b.tar.gz Qt-d2a547714ab900d1c6e9a62e09ad082b64ab173b.tar.bz2 |
Test fix : Move the global test model to a dir that the test won't delete.
(cherry picked from commit a3fc0c3b6a45864c845e3a25640b967dd34fa6fc)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp b/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp index 2cc2558..29e4fe6 100644 --- a/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp +++ b/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp @@ -795,6 +795,8 @@ void tst_QFileSystemModel::sort() model->sort(0, Qt::DescendingOrder); QVERIFY(idx.column() != 0); + model->setRootPath(QDir::homePath()); + QFETCH(bool, fileDialogMode); MyFriendFileSystemModel *myModel = new MyFriendFileSystemModel(); |