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

List:       kde-commits
Subject:    kroupware_branch: kdepim/korganizer
From:       Bo Thorsen <bo () sonofthor ! dk>
Date:       2003-06-11 12:39:42
[Download RAW message or body]

CVS commit by thorsen: 

Fix kroupware issue 291: When rightclicking on categories in task list and releasing \
during sync, you get a crash, data loss and cache corruption. Don't know exactly why \
the problem was there though, but this fixes the crash and I haven't seen any wrong \
paints in the cells


  M +14 -12    kotodoviewitem.cpp   1.13.2.6


--- kdepim/korganizer/kotodoviewitem.cpp  #1.13.2.5:1.13.2.6
@@ -233,4 +233,5 @@ void KOTodoViewItem::paintCell(QPainter 
   QColorGroup _cg = cg;
   Todo* mTodo = todo();
+  if( mTodo ) {
   if (isAlternate())
         _cg.setColor(QColorGroup::Base, static_cast< KOTodoListView* \
>(listView())->alternateBackground()); @@ -247,3 +248,4 @@ void \
> KOTodoViewItem::paintCell(QPainter 
   
   QCheckListItem::paintCell(p, _cg, column, width, alignment);
+  }
 }


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

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