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
@@ -157,6 +157,9 @@ void AdvancedFm::doDelete() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -188,6 +191,8 @@ void AdvancedFm::doDelete() {
case 1:
// exit
break;
+ default:
+ break;
};
} else {
@@ -198,6 +203,9 @@ void AdvancedFm::doDelete() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -290,6 +298,9 @@ void AdvancedFm::copy() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
}
@@ -314,6 +325,9 @@ void AdvancedFm::copy() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
}
f.remove();
@@ -366,6 +380,9 @@ void AdvancedFm::copyAs() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
}
if( !copyFile( curFile, destFile) ) {
@@ -419,6 +436,9 @@ void AdvancedFm::copySameDir() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
}
if(!copyFile( curFile,destFile) ) {
@@ -473,6 +493,9 @@ void AdvancedFm::move() {
case 1:
return;
break;
+ default:
+ return;
+ break;
};
if( !copyFile( curFile, destFile) ) {
QMessageBox::message(tr("Note"),tr("<p>Could not move %1</p>").arg(curFile));