summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-04-12 07:53:03 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-04-12 07:53:03 (GMT)
commit52d45bd5a6a1a17e76fba91d13c0ab0df807725f (patch)
tree157244015aa7c0b73fcaaa506f1838fb4cf342df /tests
parentee958684bd1273a5140e1f6d1264bf8bb7d62ef1 (diff)
parent94c9d486f266a4c99e389e900c9e157c077b7c7e (diff)
downloadQt-52d45bd5a6a1a17e76fba91d13c0ab0df807725f.zip
Qt-52d45bd5a6a1a17e76fba91d13c0ab0df807725f.tar.gz
Qt-52d45bd5a6a1a17e76fba91d13c0ab0df807725f.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp4
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();
}