summaryrefslogtreecommitdiffstats
path: root/src/app/VFS/virt_vfs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/VFS/virt_vfs.cpp')
-rw-r--r--src/app/VFS/virt_vfs.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/app/VFS/virt_vfs.cpp b/src/app/VFS/virt_vfs.cpp
index 2b40c38..4592221 100644
--- a/src/app/VFS/virt_vfs.cpp
+++ b/src/app/VFS/virt_vfs.cpp
@@ -121,11 +121,7 @@ void virt_vfs::vfs_delFiles( TQStringList *fileNames ) {
// delete of move to trash ?
krConfig->setGroup( "General" );
if ( krConfig->readBoolEntry( "Move To Trash", _MoveToTrash ) ) {
-#if KDE_IS_VERSION(3,4,0)
job = TDEIO::trash( filesUrls, true );
-#else
- job = new TDEIO::CopyJob( filesUrls, TDEGlobalSettings::trashPath(), TDEIO::CopyJob::Move, false, true );
-#endif
connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), krApp, TQ_SLOT( changeTrashIcon() ) );
} else
job = new TDEIO::DeleteJob( filesUrls, false, true );