Tracker: take advantage of BToolBar changes from the previous commit.

This commit is contained in:
Augustin Cavalier
2015-02-11 23:06:36 -05:00
parent 7d226266e6
commit 3385848679
+2 -2
View File
@@ -57,7 +57,7 @@ static const int32 kMaxHistory = 32;
BNavigator::BNavigator(const Model* model) BNavigator::BNavigator(const Model* model)
: :
BToolBar(BRect()), // FIXME in BToolbar: pointless BRect() BToolBar(),
fBackHistory(8, true), fBackHistory(8, true),
fForwHistory(8, true) fForwHistory(8, true)
{ {
@@ -102,7 +102,7 @@ BNavigator::AttachedToWindow()
SetActionEnabled(kNavigatorCommandUp, false); SetActionEnabled(kNavigatorCommandUp, false);
delete bmpUp; delete bmpUp;
GroupLayout()->AddView(fLocation); AddView(fLocation);
fLocation->SetTarget(this); fLocation->SetTarget(this);
} }