Crash in KListView, request patch review [PATCH]
Michael Pyne
michael.pyne at kdemail.net
Sat Jun 10 19:59:21 BST 2006
Reported as bug 128788:
When a renamer is open on a list view item, and the item is deleted, the
renamer is still there. When the user then hits enter in the renamer list
box, there is a crash as an invalid item is dereferenced.
This was reported against JuK, where the Play Queue can delete items
automatically.
I've attached a patch (also attached to the bug report), since it touches
KListView could someone look it over before I commit? Basically it makes the
KListViewLineEdit listen for itemRemoved() signals from the parent list view.
It adds a new slot, but should be binary compatible.
Regards,
- Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-klistview-fix-renamer-crash.patch
Type: text/x-diff
Size: 1278 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060610/38c12a2a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060610/38c12a2a/attachment.sig>
More information about the kde-core-devel
mailing list