summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-10-13 21:53:13 (UTC)
committer llornkcor <llornkcor>2004-10-13 21:53:13 (UTC)
commit1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23 (patch) (side-by-side diff)
tree85461425e52ee7e90b40ffeaed7450122a8cb0b0
parentff1e5cf77abe865c4ca9beda114577ad4a13e61f (diff)
downloadopie-1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23.zip
opie-1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23.tar.gz
opie-1f59ac9b59393b46a7ae5d4e1a46e1c1aaf05b23.tar.bz2
fix move
Diffstat (more/less context) (show 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() {
switch ( QMessageBox::warning(this,tr("File Exists!"),
tr("<p>%1 already exists. Ok to overwrite?</P>").arg(destFile),
tr("Yes"),tr("No"),0,0,1)) {
+ case 0:
+ break;
case 1:
return;
break;
@@ -497,6 +499,7 @@ void AdvancedFm::move() {
return;
break;
};
+ }
if( !copyFile( curFile, destFile) ) {
QMessageBox::message(tr("Note"),tr("<p>Could not move %1</p>").arg(curFile));
return;
@@ -504,7 +507,6 @@ void AdvancedFm::move() {
QFile::remove(curFile);
}
}
- }
rePopulate();
// setOtherTabCurrent();
}