Tracker: Drop ShowHideSelection setting.

Unused since the previous commit.
This commit is contained in:
Augustin Cavalier 2023-01-28 15:24:23 -05:00
parent 6d791f2040
commit 147ca87661
2 changed files with 1 additions and 12 deletions

View File

@ -263,7 +263,6 @@ BPoseView::BPoseView(Model* model, uint32 viewMode)
fAlwaysAutoPlace(false),
fAllowPoseEditing(true),
fSelectionChangedHook(false),
fShowHideSelection(true),
fOkToMapIcons(false),
fEnsurePosesVisible(false),
fShouldAutoScroll(true),
@ -1135,8 +1134,7 @@ BPoseView::WindowActivated(bool active)
if (!active)
CommitActivePose();
if (fShowHideSelection)
ShowSelection(active);
ShowSelection(active);
if (active && ActivePose() == NULL && !IsFilePanel())
MakeFocus();

View File

@ -157,7 +157,6 @@ public:
void SetSelectionRectEnabled(bool);
void SetAlwaysAutoPlace(bool);
void SetSelectionChangedHook(bool);
void SetShowHideSelection(bool);
void SetEnsurePosesVisible(bool);
void SetIconMapping(bool);
void SetAutoScroll(bool);
@ -787,7 +786,6 @@ private:
bool fAllowPoseEditing : 1;
bool fSelectionChangedHook : 1;
// get rid of this
bool fShowHideSelection : 1;
bool fOkToMapIcons : 1;
bool fEnsurePosesVisible : 1;
bool fShouldAutoScroll : 1;
@ -1051,13 +1049,6 @@ BPoseView::ReverseSort() const
}
inline void
BPoseView::SetShowHideSelection(bool on)
{
fShowHideSelection = on;
}
inline void
BPoseView::SetIconMapping(bool on)
{