diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-10-05 19:34:33 +0200 |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-10-05 19:34:33 +0200 |
commit | a3fc0c3b6a45864c845e3a25640b967dd34fa6fc (patch) | |
tree | a17bc2460ae091b6a3877c56fdd480d1dd7c8aa2 /tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp | |
parent | 45cd658c7dce650b12e2d0760e852ece1d8812fd (diff) | |
download | qt4-tools-a3fc0c3b6a45864c845e3a25640b967dd34fa6fc.tar.gz |
Test fix : Move the global test model to a dir that the test won't delete.
Diffstat (limited to 'tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp')
-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 2cc25586e3..29e4fe678e 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(); |