summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2012-02-05 00:50:25 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-06 16:48:22 +0100
commit5d255789cdd6f1d301c161e25151595ca06db436 (patch)
tree35e428bd4403335ae46d2eb3d607540edd02cf2c
parenteeb9861a91bcb5b5122e26012587bbcd619da2d4 (diff)
Remove dependency on QFSFileEngine
The code was hard-wired to use QFSFileEngine to determine platform preference for file system case sensitivity. In this case it is cheaper to use private API and directly access the information in QFileSystemEngine. This change is also necessary because file engines are being dropped from the public API. Change-Id: I5015d5fdb3979af9ff2d114084053ad06220d834 Reviewed-by: Shane Kearns <ext-shane.2.kearns@nokia.com>
-rw-r--r--src/widgets/dialogs/qfileinfogatherer_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/dialogs/qfileinfogatherer_p.h b/src/widgets/dialogs/qfileinfogatherer_p.h
index 3e5d1be384..c07c908a55 100644
--- a/src/widgets/dialogs/qfileinfogatherer_p.h
+++ b/src/widgets/dialogs/qfileinfogatherer_p.h
@@ -58,13 +58,14 @@
#include <qwaitcondition.h>
#include <qfilesystemwatcher.h>
#include <qfileiconprovider.h>
-#include <qfsfileengine.h>
#include <qpair.h>
#include <qstack.h>
#include <qdatetime.h>
#include <qdir.h>
#include <qelapsedtimer.h>
+#include <private/qfilesystemengine_p.h>
+
QT_BEGIN_NAMESPACE
class QExtendedInformation {
@@ -86,8 +87,7 @@ public:
#ifndef QT_NO_FSFILEENGINE
bool isCaseSensitive() const {
- QFSFileEngine fe(mFileInfo.absoluteFilePath());
- return fe.caseSensitive();
+ return QFileSystemEngine::isCaseSensitive();
}
#endif