-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 8b98898..e770304 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -200,6 +200,8 @@ void AdvancedFm::doDelete() { | |||
200 | switch ( QMessageBox::warning(this,tr("Delete"), | 200 | switch ( QMessageBox::warning(this,tr("Delete"), |
201 | tr("<p>Really delete %1?</p>").arg( myFile ), | 201 | tr("<p>Really delete %1?</p>").arg( myFile ), |
202 | tr("Yes"), tr("No"), 0, 0, 1) ) { | 202 | tr("Yes"), tr("No"), 0, 0, 1) ) { |
203 | case 0; | ||
204 | break; | ||
203 | case 1: | 205 | case 1: |
204 | return; | 206 | return; |
205 | break; | 207 | break; |
@@ -322,6 +324,8 @@ void AdvancedFm::copy() { | |||
322 | switch ( QMessageBox::warning(this,tr("File Exists!"), | 324 | switch ( QMessageBox::warning(this,tr("File Exists!"), |
323 | tr("<p>%1 already exists. Ok to overwrite?</P>").arg(item), | 325 | tr("<p>%1 already exists. Ok to overwrite?</P>").arg(item), |
324 | tr("Yes"),tr("No"),0,0,1)) { | 326 | tr("Yes"),tr("No"),0,0,1)) { |
327 | case 0; | ||
328 | break; | ||
325 | case 1: | 329 | case 1: |
326 | return; | 330 | return; |
327 | break; | 331 | break; |
@@ -430,7 +434,6 @@ void AdvancedFm::copySameDir() { | |||
430 | tr("<p> %1 already exists. Do you really want to delete it?</P>").arg(destFile), | 434 | tr("<p> %1 already exists. Do you really want to delete it?</P>").arg(destFile), |
431 | tr("Yes"),tr("No"),0,0,1) ) { | 435 | tr("Yes"),tr("No"),0,0,1) ) { |
432 | case 0: | 436 | case 0: |
433 | |||
434 | f.remove(); | 437 | f.remove(); |
435 | break; | 438 | break; |
436 | case 1: | 439 | case 1: |