diff options
author | João Abecasis <joao@abecasis.name> | 2010-12-05 00:25:02 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2010-12-05 00:25:02 (GMT) |
commit | e2498cf6e6c193df849f6dbbaab3a827ca3e3a23 (patch) | |
tree | f0fbf53fcfa3b7f8e23ab81a7bc879d3f2ea0bc0 | |
parent | 07de3abf3785248160fbd42c449b0832ea97c320 (diff) | |
download | Qt-e2498cf6e6c193df849f6dbbaab3a827ca3e3a23.zip Qt-e2498cf6e6c193df849f6dbbaab3a827ca3e3a23.tar.gz Qt-e2498cf6e6c193df849f6dbbaab3a827ca3e3a23.tar.bz2 |
Removing unused duplicate definitions
These functions have been forked in qfilesystemengine_win.cpp and are no
longer used in this file. Cleaning up.
-rw-r--r-- | src/corelib/io/qfsfileengine_win.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp index 715fe39..3b6e80c 100644 --- a/src/corelib/io/qfsfileengine_win.cpp +++ b/src/corelib/io/qfsfileengine_win.cpp @@ -75,15 +75,6 @@ QT_BEGIN_NAMESPACE - - -#if defined(Q_OS_WINCE) -static QString qfsPrivateCurrentDir = QLatin1String(""); -// As none of the functions we try to resolve do exist on Windows CE -// we use QT_NO_LIBRARY to shorten everything up a little bit. -#define QT_NO_LIBRARY 1 -#endif - #if !defined(Q_OS_WINCE) static inline bool isUncPath(const QString &path) { @@ -114,24 +105,6 @@ QString QFSFileEnginePrivate::longFileName(const QString &path) #endif } -static inline bool getFindData(QString path, WIN32_FIND_DATA &findData) -{ - // path should not end with a trailing slash - while (path.endsWith(QLatin1Char('\\'))) - path.chop(1); - - // can't handle drives - if (!path.endsWith(QLatin1Char(':'))) { - HANDLE hFind = ::FindFirstFile((wchar_t*)path.utf16(), &findData); - if (hFind != INVALID_HANDLE_VALUE) { - ::FindClose(hFind); - return true; - } - } - - return false; -} - /* \internal */ |