Version: 3.5 (using KDE KDE 3.4.1) OS: Linux Please add an option to KNotes preferences to toggle on/off the confirmation for deleting a note.
SVN commit 495310 by brade: fixed #110672: added a "Do not show again" box to the delete note dialog BUG: 110672 M +3 -2 ChangeLog M +5 -4 knote.cpp --- branches/KDE/3.5/kdepim/knotes/ChangeLog #495309:495310 @@ -3,8 +3,9 @@ 2006/01/06 Michael Brade <brade@kde.org> - * fixed #103780: Separate "Clear" action visually from Cut/Copy/Paste - since it's not doing anything with the clipboard. + * fixed #103780: separate "Clear" action visually from Cut/Copy/Paste + since it's not doing anything with the clipboard + * fixed #110672: added a "Do not show again" box to the delete note dialog 2006/01/06 Michael Brade <brade@kde.org> --- branches/KDE/3.5/kdepim/knotes/knote.cpp #495309:495310 @@ -370,10 +370,11 @@ void KNote::slotKill( bool force ) { if ( !force && - KMessageBox::warningContinueCancel( this, - i18n("<qt>Do you really want to delete note <b>%1</b>?</qt>") - .arg( m_label->text() ), - i18n("Confirm Delete"), KGuiItem( i18n("&Delete"), "editdelete") ) + KMessageBox::warningContinueCancel( this, + i18n("<qt>Do you really want to delete note <b>%1</b>?</qt>").arg( m_label->text() ), + i18n("Confirm Delete"), KGuiItem( i18n("&Delete"), "editdelete" ), + "ConfirmDeleteNote" + ) != KMessageBox::Continue ) { return;