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:
Michael Lotz 2015-04-14 22:45:49 +02:00
parent 32e627a7fb
commit 19bb9ef937

View File

@ -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;