summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-10-06 08:10:14 (UTC)
committer llornkcor <llornkcor>2004-10-06 08:10:14 (UTC)
commit14c237a2d5c60314935d51d9beea0527e337a9d8 (patch) (side-by-side diff)
treeaaa74a61444febeec1db1760b79e5a07f47e8fd9
parent637e5e26c5d30778234c03412f1bf44ed7b38a8e (diff)
downloadopie-14c237a2d5c60314935d51d9beea0527e337a9d8.zip
opie-14c237a2d5c60314935d51d9beea0527e337a9d8.tar.gz
opie-14c237a2d5c60314935d51d9beea0527e337a9d8.tar.bz2
if user clicks dialog's X, dont go ahead and do the actions
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 4802771..f25048a 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -158,4 +158,7 @@ void AdvancedFm::doDelete() {
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -189,4 +192,6 @@ void AdvancedFm::doDelete() {
// exit
break;
+ default:
+ break;
};
@@ -199,4 +204,7 @@ void AdvancedFm::doDelete() {
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -291,4 +299,7 @@ void AdvancedFm::copy() {
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -315,4 +326,7 @@ void AdvancedFm::copy() {
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -367,4 +381,7 @@ void AdvancedFm::copyAs() {
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -420,4 +437,7 @@ void AdvancedFm::copySameDir() {
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -474,4 +494,7 @@ void AdvancedFm::move() {
return;
break;
+ default:
+ return;
+ break;
};
if( !copyFile( curFile, destFile) ) {