Tracker: Don't create the TitleView and CountView for the desktop.
They aren't used, so this just leaked memory.
Diff
src/kits/tracker/PoseView.cpp | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
@@ -328,14 +328,16 @@
void
BPoseView::InitCommon()
{
fTitleView = new BTitleView(this);
if (ViewMode() != kListMode)
fTitleView->Hide();
if (fHScrollBar != NULL)
fHScrollBar->SetTitleView(fTitleView);
if (!IsDesktopView()) {
fTitleView = new BTitleView(this);
if (ViewMode() != kListMode)
fTitleView->Hide();
if (fHScrollBar != NULL)
fHScrollBar->SetTitleView(fTitleView);
fCountView = new BCountView(this);
fCountView = new BCountView(this);
}
BPoint origin;
if (ViewMode() == kListMode)