diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-11-16 22:07:01 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-21 07:45:38 +0100 |
commit | 885bd1d0e57b9e0e5a7c4945866c2ef00ae30c92 (patch) | |
tree | 9ced65bd61d99d529996f3562d4dc0c4f0d96b60 /tests/auto/android | |
parent | 6533a736a7dd899280069b5d1855cfa13767341b (diff) |
tst_QFileSystemModel: don't expect ~/Documents to exist
For me, this test failed because I don't have a Documents folder in my
home directory, even though that's what's returned from QStandardPaths
as the first DocumentsLocation.
Fix by falling back on the home directory if documentPaths.front()
does not exist.
Change-Id: I483f62f3b4b43d055c74774a7058a4aa420849b1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/android')
0 files changed, 0 insertions, 0 deletions