warningContinueCancel() for delete confirmation

svn path=/trunk/KDE/kdepim/; revision=470529
wilder-work
Stephan Binner 21 years ago
parent 710ab0d447
commit 07ceeaccef
  1. 6
      managesievescriptsdialog.cpp

@ -233,10 +233,10 @@ void KMail::ManageSieveScriptsDialog::slotDeleteScript() {
u.setFileName( mContextMenuItem->text( 0 ) );
if ( KMessageBox::questionYesNo( this, i18n( "Really delete script \"%1\" from the server?" ).arg( u.fileName() ),
if ( KMessageBox::warningContinueCancel( this, i18n( "Really delete script \"%1\" from the server?" ).arg( u.fileName() ),
i18n( "Delete Sieve Script Confirmation" ),
KStdGuiItem::del(), KStdGuiItem::cancel() )
!= KMessageBox::Yes )
KStdGuiItem::del() )
!= KMessageBox::Continue )
return;
SieveJob * job = SieveJob::del( u );

Loading…
Cancel
Save