diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2011-08-11 13:49:37 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2011-08-26 12:06:42 (GMT) |
commit | dcee6e1371d899eb79717b8e3f3eec08b765db82 (patch) | |
tree | f34d4d7d6a05fb1939fbcb5d707496fdea095b38 /tests/manual | |
parent | 7b693627ee2a17718cb6d8bee5e3deb5a97b307f (diff) | |
download | Qt-dcee6e1371d899eb79717b8e3f3eec08b765db82.zip Qt-dcee6e1371d899eb79717b8e3f3eec08b765db82.tar.gz Qt-dcee6e1371d899eb79717b8e3f3eec08b765db82.tar.bz2 |
Fix QDir::operator==(const QDir &) const
We can't rely on absolute paths when comparing directories for equality
as these don't take into account symbolic links and may also bypass ../
and ./ simplification.
Instead, canonical paths must be computed and can then be compared
according to the case sensitivity rules for the platform or file engine,
as is done in QFileInfo.
Task-number: QTBUG-20495
Reviewed-by: Prasanth Ullattil
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions