summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2009-08-13 16:44:39 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-13 16:44:39 (GMT)
commit98fb13e3ef2627664642c21f34d11c10537379f7 (patch)
tree47b3c16807b99061a8a6ab4336703097c09463b2 /src/corelib
parent0d36864727007671b0ee01ab501fec0988c71011 (diff)
downloadQt-98fb13e3ef2627664642c21f34d11c10537379f7.zip
Qt-98fb13e3ef2627664642c21f34d11c10537379f7.tar.gz
Qt-98fb13e3ef2627664642c21f34d11c10537379f7.tar.bz2
remove unneeded distinction between Windows and Windows CE
Merge-request: 1167 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfsfileengine_win.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp
index e500d67..4bae9f4 100644
--- a/src/corelib/io/qfsfileengine_win.cpp
+++ b/src/corelib/io/qfsfileengine_win.cpp
@@ -1643,12 +1643,8 @@ bool QFSFileEngine::setPermissions(uint perms)
if (mode == 0) // not supported
return false;
-#if !defined(Q_OS_WINCE)
- ret = ::_wchmod((wchar_t*)d->filePath.utf16(), mode) == 0;
-#else
ret = ::_wchmod((wchar_t*)d->longFileName(d->filePath).utf16(), mode) == 0;
-#endif
- return ret;
+ return ret;
}
bool QFSFileEngine::setSize(qint64 size)