https://bugs.kde.org/show_bug.cgi?id=248256
Olivier Trichet <n...@nivalis.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #12 from Olivier Trichet <nive nivalis org> 2011-01-02 19:14:25 --- commit 4cb6e7c84920e7bec3813a431fd086eeed447f05 branch master Author: Olivier Trichet <n...@nivalis.org> Date: Sun Jan 2 18:50:02 2011 +0100 Crash when unsubscribing from a newsgroup The event loop was reentered and the KNCollectionViewItem being deleted was reaccessed to update the display. Worked around: hide the item before deleting it. BUG: 248256 diff --git a/knode/kncollectionview.cpp b/knode/kncollectionview.cpp index 42cc70b..9bf1676 100644 --- a/knode/kncollectionview.cpp +++ b/knode/kncollectionview.cpp @@ -171,6 +171,7 @@ void KNCollectionView::removeGroup( KNGroup::Ptr g ) if (!g->listItem()) return; + g->listItem()->setHidden( true ); // work around bug 248256 delete g->listItem(); g->setListItem(0); } -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs