summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/openetext.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/noncore/apps/opie-gutenbrowser/openetext.cpp b/noncore/apps/opie-gutenbrowser/openetext.cpp
index a5d855d..75edacd 100644
--- a/noncore/apps/opie-gutenbrowser/openetext.cpp
+++ b/noncore/apps/opie-gutenbrowser/openetext.cpp
@@ -368,17 +368,15 @@ void OpenEtext::remove()
368 title_text=title_text.stripWhiteSpace(); 368 title_text=title_text.stripWhiteSpace();
369 QString msg ="<p>Do you really want to REMOVE\n" + title_text + 369 QString msg ="<p>Do you really want to REMOVE\n" + title_text +
370 "?\nThis will not delete the file.</P>"; 370 "?\nThis will not delete the file.</P>";
371 switch( QMessageBox::information( this, tr("Remove Etext"), 371 unsigned short clickVal =
372 tr(msg), 372 QMessageBox::information( this, tr("Remove Etext"),
373 tr("&Yes"), tr("&Cancel"), 0 ) ) 373 tr(msg),
374 { 374 tr("&Yes"), tr("&Cancel"), 0 );
375 case 0: // Yes clicked, 375 if ( clickVal == 0 ) {
376 removeSelection(); 376 // The yes button was clicked
377 QListBox_1->clear(); 377 removeSelection();
378 getTitles(); 378 QListBox_1->clear();
379 break; 379 getTitles();
380 case 1:
381 default:
382 } 380 }
383} 381}
384 382