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

LibCore+LibGUI: Remove leftover gunk after Inspector removal

Just some functions in Core::Object and GUI::Widget that aren't called
from anywhere anymore.
This commit is contained in:
Andreas Kling 2023-08-06 16:11:09 +02:00
parent 26647f2b10
commit 887dfd72b9
4 changed files with 0 additions and 43 deletions

View file

@ -415,11 +415,6 @@ void Widget::handle_paint_event(PaintEvent& event)
Painter painter(*this);
painter.draw_rect(rect(), Color::Red);
}
if (is_being_inspected()) {
Painter painter(*this);
painter.draw_rect(rect(), Color::Magenta);
}
}
void Widget::set_layout(NonnullRefPtr<Layout> layout)
@ -1089,16 +1084,6 @@ Gfx::Palette Widget::palette() const
return Gfx::Palette(*m_palette);
}
void Widget::did_begin_inspection()
{
update();
}
void Widget::did_end_inspection()
{
update();
}
void Widget::set_grabbable_margins(Margins const& margins)
{
if (m_grabbable_margins == margins)