summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-14 16:36:42 (UTC)
committer zecke <zecke>2004-10-14 16:36:42 (UTC)
commitf91c6162ea0e12d2c618072a78467310dcb23077 (patch) (side-by-side diff)
tree6ad9d060360b4d3530e885a51687625a36a4a365
parent91216c486aff5ddb194234cce3c9db453b9f3152 (diff)
downloadopie-f91c6162ea0e12d2c618072a78467310dcb23077.zip
opie-f91c6162ea0e12d2c618072a78467310dcb23077.tar.gz
opie-f91c6162ea0e12d2c618072a78467310dcb23077.tar.bz2
case 0: it is a label and not a statement, it doesn't need ';' but ':' every decent
c compiler produced in the last twenty years will bitch about it...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index e770304..6abdc85 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -189,27 +189,27 @@ void AdvancedFm::doDelete() {
}
break;
case 1:
// exit
break;
default:
break;
};
} else {
if(doMsg) {
switch ( QMessageBox::warning(this,tr("Delete"),
- tr("<p>Really delete %1?</p>").arg( myFile ),
- tr("Yes"), tr("No"), 0, 0, 1) ) {
- case 0;
+ tr("<p>Really delete %1?</p>").arg( myFile ),
+ tr("Yes"), tr("No"), 0, 0, 1) ) {
+ case 0:
break;
case 1:
return;
break;
default:
return;
break;
};
}
QString cmd="rm "+f;
QFile file(f);
@@ -315,25 +315,25 @@ void AdvancedFm::copy() {
curFile = thisDir->canonicalPath()+"/"+ item;
destFile = thatDir->canonicalPath()+"/"+ item;
// odebug << "Destination file is "+destFile << oendl;
// odebug << "CurrentFile file is " + curFile << oendl;
QFile f(destFile);
if( f.exists()) {
if(doMsg) {
switch ( QMessageBox::warning(this,tr("File Exists!"),
tr("<p>%1 already exists. Ok to overwrite?</P>").arg(item),
tr("Yes"),tr("No"),0,0,1)) {
- case 0;
+ case 0:
break;
case 1:
return;
break;
default:
return;
break;
};
}
f.remove();
}