1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 03:08:11 +00:00

FontEditor: Remove reprobe_font()

This was used to update GlyphMapWidget on Type changes and is
no longer needed since removal of Type enumeration in bb592ae.
This commit is contained in:
thankyouverycool 2021-09-21 17:49:13 -04:00 committed by Andreas Kling
parent 144d32d537
commit e8f3fda3cf
2 changed files with 0 additions and 9 deletions

View file

@ -72,14 +72,6 @@ void GlyphMapWidget::update_glyph(int glyph)
update(get_outer_rect(glyph));
}
void GlyphMapWidget::reprobe_font()
{
VERIFY(m_font);
m_glyph_count = m_font->glyph_count();
m_selected_glyph = 0;
update();
}
void GlyphMapWidget::paint_event(GUI::PaintEvent& event)
{
GUI::Frame::paint_event(event);