summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2012-09-27 04:08:34 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-18 20:08:55 (GMT)
commitf319483be7f0c8c91b3ebc4e9089f4747a2d7002 (patch)
tree680d1299c06fcaf7e1c76eb2b21ca0f657fa4cc9 /tests
parent9bc44bb10b8f7426c8431d8e2fcb46ba9a0334aa (diff)
downloadQt-f319483be7f0c8c91b3ebc4e9089f4747a2d7002.zip
Qt-f319483be7f0c8c91b3ebc4e9089f4747a2d7002.tar.gz
Qt-f319483be7f0c8c91b3ebc4e9089f4747a2d7002.tar.bz2
Fix regression introduced in QFileSystemEntry::path()
When fd2eb070128ab6ef6b5c9343a0921f6b5a0bc041 was backported it shouldn't have included the change to path() as this introduced a behaviour change. This reverts that part of the patch so it is back to Qt 4.8.2 behavior. Task-number: QTBUG-27356 Change-Id: I7c19dda473e7aa2c53baed961c3b0e0d322362fe Reviewed-by: João Abecasis <joao@abecasis.name>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp
index 510a0ea..3409fd6 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -729,7 +729,7 @@ void tst_QFileInfo::dir_data()
QTest::newRow("resource1") << ":/tst_qfileinfo/resources/file1.ext1" << true << ":/tst_qfileinfo/resources";
#ifdef Q_OS_WIN
QTest::newRow("driveWithSlash") << "C:/file1.ext1.ext2" << true << "C:/";
- QTest::newRow("driveWithoutSlash") << QDir::currentPath().left(2) + "file1.ext1.ext2" << false << QDir::currentPath();
+ QTest::newRow("driveWithoutSlash") << QDir::currentPath().left(2) + "file1.ext1.ext2" << false << QDir::currentPath().left(2);
#endif
}