From 7e35a1f70b69eab892216edd551bf50fecd352f5 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 8 Feb 2011 11:57:51 +0100 Subject: Fix warning, unused parametter error Use the Function not implemented error Reviewed-by: Joao --- src/corelib/io/qfilesystemengine_unix.cpp | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v0.12