BView: Remove old TODO comment.
The BShelf is not owned by the BView (nor the BWindow for that matter) and so must not be deleted on destruction.
This commit is contained in:
parent
32e627a7fb
commit
19bb9ef937
@ -710,9 +710,6 @@ BView::~BView()
|
||||
if (fToolTip != NULL)
|
||||
fToolTip->ReleaseReference();
|
||||
|
||||
// TODO: see about BShelf! must I delete it here? is it deleted by
|
||||
// the window?
|
||||
|
||||
// we also delete all our children
|
||||
|
||||
BView* child = fFirstChild;
|
||||
|
Loading…
Reference in New Issue
Block a user