Bug 95804

Summary: [regression] Pressing 'delete' does not delete contacts anymore
Product: [Applications] kopete Reporter: Matt Rogers <mattr>
Component: Contact listAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matt Rogers 2004-12-25 06:52:51 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.4 
OS:                Linux

Pressing the 'delete' key to delete a contact does not work by default anymore because the default shortcut is not set up correctly. Setting up the shortcut for 'Remove Contact' to use 'delete' works as expected, however, this should be set up by default.  Will check again with a clean install just to make sure it's not a glitch on my end.
Comment 1 Will Stephenson 2005-01-14 15:38:50 UTC
Confirmed.  Matt, were you filing bugs while waiting for Santa Claus?
Comment 2 Jason Keirstead 2005-01-14 15:49:12 UTC
Silly Will. It was 6 AM on the 25th, Santa would have already arrived and left by then!
Comment 3 Matt Rogers 2005-01-14 16:08:45 UTC
yes, i was waiting for Santa Claus. (it was 11:50 12/24 my time when i filed the bug) :)
Comment 4 Olivier Goffart 2005-01-14 16:10:55 UTC
CVS commit by ogoffart: 

Set the default shortcut for removing contact to Delete
BUG: 95804

btw, it was not a regression, delete never been the default.


  M +1 -1      kopetestdaction.cpp   1.62


--- kdenetwork/kopete/libkopete/ui/kopetestdaction.cpp  #1.61:1.62
@@ -109,5 +109,5 @@ KAction * KopeteStdAction::changeMetaCon
 KAction * KopeteStdAction::deleteContact( const QObject *recvr, const char *slot, QObject *parent, const char *name )
 {
-        return new KAction( i18n( "&Delete Contact" ), QString::fromLatin1( "editdelete" ), 0, recvr, slot, parent, name );
+        return new KAction( i18n( "&Delete Contact" ), QString::fromLatin1( "editdelete" ), Qt::Key_Delete, recvr, slot, parent, name );
 }