Bug 110672 - remove confirmation when deleting notes
Summary: remove confirmation when deleting notes
Status: RESOLVED FIXED
Alias: None
Product: knotes
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Brade
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-13 00:44 UTC by Oliver Grimm
Modified: 2006-01-07 18:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Grimm 2005-08-13 00:44:26 UTC
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.
Comment 1 Michael Brade 2006-01-07 18:20:59 UTC
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;