1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

LibGUI: Rename AbstractView::m_searching => m_highlighted_search

This commit is contained in:
Dawid Wolosowicz 2021-09-04 15:00:18 +02:00 committed by Ali Mohammad Pur
parent aeffd9024e
commit 9225b45c2d
2 changed files with 7 additions and 7 deletions

View file

@ -162,7 +162,7 @@ protected:
void activate_selected();
void update_edit_widget_position();
bool is_searching() const { return !m_searching.is_null(); }
bool is_searching() const { return !m_highlighted_search.is_null(); }
void cancel_searching();
void start_searching_timer();
void do_search(String&&);
@ -192,7 +192,7 @@ private:
RefPtr<Model> m_model;
ModelSelection m_selection;
String m_searching;
String m_highlighted_search;
RefPtr<Core::Timer> m_searching_timer;
SelectionBehavior m_selection_behavior { SelectionBehavior::SelectItems };
SelectionMode m_selection_mode { SelectionMode::SingleSelection };