diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-02-23 15:28:54 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-02-24 16:43:07 (GMT) |
commit | 8d1ee3335f4c1bf262fb3a85fd4cc7e837129b8c (patch) | |
tree | 58c68ef568605b3b8904f156b9269d54ee714373 /src/corelib | |
parent | dc01a7829255a41bda606fb59f546d599b6654ba (diff) | |
download | Qt-8d1ee3335f4c1bf262fb3a85fd4cc7e837129b8c.zip Qt-8d1ee3335f4c1bf262fb3a85fd4cc7e837129b8c.tar.gz Qt-8d1ee3335f4c1bf262fb3a85fd4cc7e837129b8c.tar.bz2 |
bugfix: QDir::entryList(Files|Readable) not listing writable files
Mistake in the qfilesystemiterator_symbian implementation.
Readable without Writable was thought to mean show only read-only files,
but this isn't the expected behaviour of QDir[Iterator]
Added an autotest, as this was only covered by ssl tests in the network
layer.
Reviewed-by: joao
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qfilesystemiterator_symbian.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemiterator_symbian.cpp b/src/corelib/io/qfilesystemiterator_symbian.cpp index e316526..0adc26d 100644 --- a/src/corelib/io/qfilesystemiterator_symbian.cpp +++ b/src/corelib/io/qfilesystemiterator_symbian.cpp @@ -88,8 +88,6 @@ QFileSystemIterator::QFileSystemIterator(const QFileSystemEntry &path, QDir::Fil else if (symbianMask == 0) { if ((filters & QDir::PermissionMask) == QDir::Writable) symbianMask = KEntryAttMatchExclude | KEntryAttReadOnly; - else if ((filters & QDir::PermissionMask) == QDir::Readable) - symbianMask = KEntryAttMatchExclusive | KEntryAttReadOnly; } lastError = dirHandle.Open(fs, qt_QString2TPtrC(absPath), symbianMask); |