diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-10-20 03:25:42 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-10-20 03:25:42 (GMT) |
commit | b922c818af1cba0864548907af2af7df8c9f8b16 (patch) | |
tree | 53054371266f421685d1e6a11e71b813188b95ae /tests | |
parent | f56f8418ece38e74cdf2830dcd7f9660631295b1 (diff) | |
download | Qt-b922c818af1cba0864548907af2af7df8c9f8b16.zip Qt-b922c818af1cba0864548907af2af7df8c9f8b16.tar.gz Qt-b922c818af1cba0864548907af2af7df8c9f8b16.tar.bz2 |
Fix 5ab4ccf0e0d3618e799dcfc82bd7fcf3fd560e78
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/visual/tst_visual.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/visual/tst_visual.cpp b/tests/auto/declarative/visual/tst_visual.cpp index cb32085..a9f4740 100644 --- a/tests/auto/declarative/visual/tst_visual.cpp +++ b/tests/auto/declarative/visual/tst_visual.cpp @@ -112,7 +112,7 @@ QString tst_visual::toTestScript(const QString &file, Mode mode) QString("data"); QString testname = file.mid(index + 1, file.length() - index - 5); - if (platformsuffix && (mode == UpdatePlatformVisuals || QFile::exists(testdata+QLatin1String(platformsuffix)+QDir::separator()+testname))) { + if (platformsuffix && (mode == UpdatePlatformVisuals || QFile::exists(testdata+QLatin1String(platformsuffix)+QDir::separator()+testname+".qml"))) { QString platformdir = testdata + QLatin1String(platformsuffix); if (mode == UpdatePlatformVisuals) { Q_ASSERT(QDir().mkpath(platformdir)); |