From 19bb9ef937204c12bbaa9f4e8a2b25237a109779 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Tue, 14 Apr 2015 22:45:49 +0200 Subject: [PATCH] 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. --- src/kits/interface/View.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index 2e60b10c19..460c838c51 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -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;