-rw-r--r-- | library/filemanager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/filemanager.cpp b/library/filemanager.cpp index 1c1c998..c51ca2f 100644 --- a/library/filemanager.cpp +++ b/library/filemanager.cpp | |||
@@ -313,17 +313,16 @@ bool FileManager::renameFile( const QString & src, const QString & dest ) { | |||
313 | if(QFile::remove(src) ) { | 313 | if(QFile::remove(src) ) { |
314 | return true; | 314 | return true; |
315 | } | 315 | } |
316 | } | 316 | } |
317 | return false; | 317 | return false; |
318 | } | 318 | } |
319 | 319 | ||
320 | 320 | ||
321 | ======= | ||
322 | bool FileManager::copyFile( const QString & src, const QString & dest ) { | 321 | bool FileManager::copyFile( const QString & src, const QString & dest ) { |
323 | bool success = true; | 322 | bool success = true; |
324 | struct stat status; | 323 | struct stat status; |
325 | int read_fd=0; | 324 | int read_fd=0; |
326 | int write_fd=0; | 325 | int write_fd=0; |
327 | struct stat stat_buf; | 326 | struct stat stat_buf; |
328 | off_t offset = 0; | 327 | off_t offset = 0; |
329 | QFile srcFile(src); | 328 | QFile srcFile(src); |