diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-04-12 07:46:10 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-04-12 07:48:58 (GMT) |
commit | 94c9d486f266a4c99e389e900c9e157c077b7c7e (patch) | |
tree | 3321ba469dda921647d9818b23369f7907f9f24e /tests/auto | |
parent | adb27f56d46fde3ccbd110186f1781ee0b3f98d0 (diff) | |
download | Qt-94c9d486f266a4c99e389e900c9e157c077b7c7e.zip Qt-94c9d486f266a4c99e389e900c9e157c077b7c7e.tar.gz Qt-94c9d486f266a4c99e389e900c9e157c077b7c7e.tar.bz2 |
Fix declarative examples autotest, avoid using native separators
Reviewed-by: Joona Petrell
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/examples/tst_examples.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index 6d7e578..25cd1ee 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -90,7 +90,7 @@ to have them tested by the examples() test. void tst_examples::namingConvention(const QDir &d) { for (int ii = 0; ii < excludedDirs.count(); ++ii) { - QString s = QDir::toNativeSeparators(excludedDirs.at(ii)); + QString s = excludedDirs.at(ii); if (d.absolutePath().endsWith(s)) return; } @@ -131,7 +131,7 @@ void tst_examples::namingConvention() QStringList tst_examples::findQmlFiles(const QDir &d) { for (int ii = 0; ii < excludedDirs.count(); ++ii) { - QString s = QDir::toNativeSeparators(excludedDirs.at(ii)); + QString s = excludedDirs.at(ii); if (d.absolutePath().endsWith(s)) return QStringList(); } |