mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
LibGUI: Remove barely used AbstractView::searching()
This commit is contained in:
parent
e96081ef8f
commit
0cbc222c17
2 changed files with 1 additions and 2 deletions
|
@ -682,7 +682,7 @@ void AbstractView::draw_item_text(Gfx::Painter& painter, const ModelIndex& index
|
|||
else
|
||||
text_color = index.data(ModelRole::ForegroundColor).to_color(palette().color(foreground_role()));
|
||||
if (is_highlighting_searching(index)) {
|
||||
Utf8View searching_text(searching());
|
||||
Utf8View searching_text(m_searching);
|
||||
auto searching_length = searching_text.length();
|
||||
if (searching_length > search_highlighting_offset)
|
||||
searching_length -= search_highlighting_offset;
|
||||
|
|
|
@ -163,7 +163,6 @@ protected:
|
|||
void update_edit_widget_position();
|
||||
|
||||
bool is_searching() const { return !m_searching.is_null(); }
|
||||
StringView searching() const { return m_searching; }
|
||||
void cancel_searching();
|
||||
void start_searching_timer();
|
||||
void do_search(String&&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue