From 5d255789cdd6f1d301c161e25151595ca06db436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Abecasis?= Date: Sun, 5 Feb 2012 00:50:25 +0100 Subject: 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 --- src/widgets/dialogs/qfileinfogatherer_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/dialogs') 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 #include #include -#include #include #include #include #include #include +#include + 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 -- cgit v1.2.3