From: João Abecasis Date: Tue, 21 Aug 2012 07:32:24 +0000 (+0200) Subject: Don't do path conversions on isEmpty() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b856c2f8b4669c817a2f8b72630bb1d1b1541fde;p=profile%2Fivi%2Fqtbase.git Don't do path conversions on isEmpty() Change-Id: I4b5eefe74c6f741d1d0870d502798a5e3d0e7a2a Reviewed-by: Prasanth Ullattil Reviewed-by: Shane Kearns --- diff --git a/src/corelib/io/qfilesystementry.cpp b/src/corelib/io/qfilesystementry.cpp index 032a5bd..ffb703c 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