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

List:       kdevelop-bugs
Subject:    [Bug 204399] crash in QAbstractItemView::sizeHintForRow / FocusedTreeView
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2012-08-06 18:53:00
Message-ID: bug-204399-40295-Gxy1k4YIG6 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=204399

--- Comment #21 from Andreas Pakulat <apaku@gmx.de> ---
Two questions come to mind:

a) Why is the outputview still referencing the delegate?
b) If its ok the view is still there, why does the make plugin want to keep
ownership of the delegate?

This looks like mis-management of ownership of the delegate and/or not
unregistering the outputview. I guess for a safer API it would be good to
either make sure all views that a plugin are de-registered and the
corresponding widgets deleted before the plugin is unloaded (this requires
keeping track of the plugin <-> view/widgets) or remove the ownership-feature
and have the framework always take ownership of the delegates and possibly also
the models.

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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