summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-10-13 21:53:13 (UTC)
committer llornkcor <llornkcor>2004-10-13 21:53:13 (UTC)
commit1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23 (patch) (unidiff)
tree85461425e52ee7e90b40ffeaed7450122a8cb0b0
parentff1e5cf77abe865c4ca9beda114577ad4a13e61f (diff)
downloadopie-1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23.zip
opie-1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23.tar.gz
opie-1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23.tar.bz2
fix move
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp4
1 files changed, 3 insertions, 1 deletions
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() {
490 switch ( QMessageBox::warning(this,tr("File Exists!"), 490 switch ( QMessageBox::warning(this,tr("File Exists!"),
491 tr("<p>%1 already exists. Ok to overwrite?</P>").arg(destFile), 491 tr("<p>%1 already exists. Ok to overwrite?</P>").arg(destFile),
492 tr("Yes"),tr("No"),0,0,1)) { 492 tr("Yes"),tr("No"),0,0,1)) {
493 case 0:
494 break;
493 case 1: 495 case 1:
494 return; 496 return;
495 break; 497 break;
@@ -497,12 +499,12 @@ void AdvancedFm::move() {
497 return; 499 return;
498 break; 500 break;
499 }; 501 };
502 }
500 if( !copyFile( curFile, destFile) ) { 503 if( !copyFile( curFile, destFile) ) {
501 QMessageBox::message(tr("Note"),tr("<p>Could not move %1</p>").arg(curFile)); 504 QMessageBox::message(tr("Note"),tr("<p>Could not move %1</p>").arg(curFile));
502 return; 505 return;
503 } else 506 } else
504 QFile::remove(curFile); 507 QFile::remove(curFile);
505 }
506 } 508 }
507 } 509 }
508 rePopulate(); 510 rePopulate();