fixing wrong argument for warning box, thanks to Marc Mutz

svn path=/trunk/kdenetwork/kmail/; revision=101300
wilder-work
Daniel Naber 25 years ago
parent 4138b31244
commit 272f5a72de
  1. 2
      kmreaderwin.cpp

@ -1604,7 +1604,7 @@ void KMReaderWin::slotAtmOpen()
question += i18n("\n\nNote that opening an attachment may compromise your system's security!");
// TODO: buttons don't have the correct order, but "Save" should be default
int choice = KMessageBox::warningYesNoCancel(this, question,
i18n("Open Attachment?"), i18n("Save to disk"), open_text, i18n("Cancel"));
i18n("Open Attachment?"), i18n("Save to disk"), open_text);
if( choice == KMessageBox::Yes ) { // Save
slotAtmSave();
} else if( choice == KMessageBox::No ) { // Open

Loading…
Cancel
Save