diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2009-08-13 16:44:39 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-13 16:44:39 (GMT) |
commit | 98fb13e3ef2627664642c21f34d11c10537379f7 (patch) | |
tree | 47b3c16807b99061a8a6ab4336703097c09463b2 /src/corelib | |
parent | 0d36864727007671b0ee01ab501fec0988c71011 (diff) | |
download | Qt-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.cpp | 6 |
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) |