projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd85c5
)
Don't do path conversions on isEmpty()
author
João Abecasis
<joao.abecasis@nokia.com>
Tue, 21 Aug 2012 07:32:24 +0000
(09:32 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 29 Aug 2012 12:11:59 +0000
(14:11 +0200)
Change-Id: I4b5eefe74c6f741d1d0870d502798a5e3d0e7a2a
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/corelib/io/qfilesystementry.cpp
patch
|
blob
|
history
diff --git
a/src/corelib/io/qfilesystementry.cpp
b/src/corelib/io/qfilesystementry.cpp
index
032a5bd
..
ffb703c
100644
(file)
--- a/
src/corelib/io/qfilesystementry.cpp
+++ b/
src/corelib/io/qfilesystementry.cpp
@@
-308,8
+308,7
@@
bool QFileSystemEntry::isRoot() const
bool QFileSystemEntry::isEmpty() const
{
- resolveNativeFilePath();
- return m_nativeFilePath.isEmpty();
+ return m_filePath.isEmpty() && m_nativeFilePath.isEmpty();
}
// private methods