summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2010-12-05 00:25:02 (GMT)
committerJoão Abecasis <joao@abecasis.name>2010-12-05 00:25:02 (GMT)
commite2498cf6e6c193df849f6dbbaab3a827ca3e3a23 (patch)
treef0fbf53fcfa3b7f8e23ab81a7bc879d3f2ea0bc0
parent07de3abf3785248160fbd42c449b0832ea97c320 (diff)
downloadQt-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.cpp27
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
*/