diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2012-08-21 09:32:24 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-29 14:11:59 +0200 |
commit | b856c2f8b4669c817a2f8b72630bb1d1b1541fde (patch) | |
tree | 1dd7fee5af25fa601cfc398544f1eefd650c47d9 /src | |
parent | 1cd85c541fced0d4efc95dc8f2948be7748a839c (diff) |
Don't do path conversions on isEmpty()
Change-Id: I4b5eefe74c6f741d1d0870d502798a5e3d0e7a2a
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qfilesystementry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystementry.cpp b/src/corelib/io/qfilesystementry.cpp index 032a5bddf3..ffb703cc72 100644 --- 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 |