From 1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Wed, 13 Oct 2004 21:53:13 +0000 Subject: fix move --- (limited to 'noncore/apps/advancedfm') diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index f25048a..8b98898 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp @@ -490,6 +490,8 @@ void AdvancedFm::move() { switch ( QMessageBox::warning(this,tr("File Exists!"), tr("

%1 already exists. Ok to overwrite?

").arg(destFile), tr("Yes"),tr("No"),0,0,1)) { + case 0: + break; case 1: return; break; @@ -497,12 +499,12 @@ void AdvancedFm::move() { return; break; }; + } if( !copyFile( curFile, destFile) ) { QMessageBox::message(tr("Note"),tr("

Could not move %1

").arg(curFile)); return; } else QFile::remove(curFile); - } } } rePopulate(); -- cgit v0.9.0.2