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

List:       kde-commits
Subject:    kdepim/kaddressbook/views
From:       Allen Winter <winterz () verizon ! net>
Date:       2005-02-23 16:19:28
Message-ID: 20050223161928.913B6E022 () office ! kde ! org
[Download RAW message or body]

CVS commit by winterz: 

Fix for the evil memory eater bug.
Approval from Coolo and Will.
Sorry for blaming Akregator which had absolutely nothing to do with this bug.
BUGS: 97999


  M +7 -5      contactlistview.cpp   1.14


--- kdepim/kaddressbook/views/contactlistview.cpp  #1.13:1.14
@@ -224,8 +224,10 @@ void ContactListViewItem::refresh()
   int i = 0;
   // don't show unknown presence, it's not interesting
-  if ( mHasIM && mIMProxy->presenceNumeric( mAddressee.uid() ) > 0 )
+  if ( mHasIM ) {
+    if ( mIMProxy->presenceNumeric( mAddressee.uid() ) > 0 )
     setPixmap( parentListView->imColumn(), mIMProxy->presenceIcon( mAddressee.uid() ) );
   else
     setPixmap( parentListView->imColumn(), QPixmap() );
+  }
 
   KABC::Field::List::ConstIterator it;


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

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