Summary: | ktorrent crashes on exit | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Bruno Bigras <bigras.bruno> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | gladhorn, magist3r |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Bruno Bigras
2010-04-08 23:45:10 UTC
This is a kdelibs bug, probably a 0 pointer in KWidgetItemDelegatePool Frederik, similar crash I once reported... *** Bug 235552 has been marked as a duplicate of this bug. *** SVN commit 1122087 by gladhorn: ktorrent uses kwidgetitemdelegate in a way that broke with making it possible to delete the delegate without simultanously removing the view. It passes the view as parent and view into KWidgetItemDelegate(QAbstractItemView *itemView, QObject *parent = 0). When the view is deleted, the delegate will be deleted in the qobject destructor that deletes the view children. This leads to double deletion of the widgets created by kwidgetitemdelegate, since they are reparented by the view. This patch makes ktorrent work again. BUG: 233783 M +14 -0 kwidgetitemdelegatepool.cpp M +2 -0 kwidgetitemdelegatepool_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1122087 |