[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] Correction in kaddressbook
From:       Marc TAIEB <TAIEBMA () e-i ! com>
Date:       2003-05-27 7:03:10
[Download RAW message or body]

Hi,

There was a small bug in refresh function of file kaddressbooktableview.cpp.
I had Segmentation Fault if the uid was null.

Here is the patch.

Regards

["kaddressbooktableview.cpp.patch" (text/x-diff)]

--- kaddressbooktableview.cpp.orig	2003-05-26 23:21:45.000000000 +0200
+++ kaddressbooktableview.cpp	2003-05-26 23:22:04.000000000 +0200
@@ -168,3 +168,3 @@
       ContactListViewItem *nextItem = dynamic_cast<ContactListViewItem*>( currentItem->itemBelow() );
-      if ( currentItem )
+      if ( nextItem )
         nextUID = nextItem->addressee().uid();


_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic