summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-02-08 10:57:51 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-02-08 11:24:50 (GMT)
commit7e35a1f70b69eab892216edd551bf50fecd352f5 (patch)
tree3bb24d3792d2d02e2132ae1b1c047faf32ff6f08 /src/corelib
parented4c28b08412211bf547340a05ca4bd987b4fbf7 (diff)
downloadQt-7e35a1f70b69eab892216edd551bf50fecd352f5.zip
Qt-7e35a1f70b69eab892216edd551bf50fecd352f5.tar.gz
Qt-7e35a1f70b69eab892216edd551bf50fecd352f5.tar.bz2
Fix warning, unused parametter error
Use the Function not implemented error Reviewed-by: Joao
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index 8b88ffd..030be1b 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -534,8 +534,7 @@ bool QFileSystemEngine::copyFile(const QFileSystemEntry &source, const QFileSyst
{
Q_UNUSED(source);
Q_UNUSED(target);
- // # we can implement this using sendfile(2)
- //when this function returns false, block copy is used in QFile which sets the error code.
+ error = QSystemError(ENOSYS, QSystemError::StandardLibraryError); //Function not implemented
return false;
}