Remove hard-coded string.

This commit is contained in:
casey langen 2022-07-02 15:34:03 -07:00
parent 66c9845a43
commit 6ae3ffefe1

View File

@ -181,7 +181,7 @@ void BrowseLayout::InitializeWindows() {
this->categoryListFilter = std::make_shared<TextInput>(TextInput::StyleLine); this->categoryListFilter = std::make_shared<TextInput>(TextInput::StyleLine);
this->categoryListFilter->TextChanged.connect(this, &BrowseLayout::OnCategoryFilterChanged); this->categoryListFilter->TextChanged.connect(this, &BrowseLayout::OnCategoryFilterChanged);
this->categoryListFilter->EnterPressed.connect(this, &BrowseLayout::OnCategoryFilterEnterPressed); this->categoryListFilter->EnterPressed.connect(this, &BrowseLayout::OnCategoryFilterEnterPressed);
this->categoryListFilter->SetHint("filter"); this->categoryListFilter->SetHint(_TSTR("search_filter_hint"));
this->trackList = std::make_shared<TrackListView>(this->playback, this->library); this->trackList = std::make_shared<TrackListView>(this->playback, this->library);
this->trackList->MouseEvent.connect(this, &BrowseLayout::OnWindowMouseEvent); this->trackList->MouseEvent.connect(this, &BrowseLayout::OnWindowMouseEvent);