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

LibGUI: Remove some debugging noise.

This commit is contained in:
Andreas Kling 2019-02-17 01:05:24 +01:00
parent 9b2b9fe39b
commit 18062f4ad6

View file

@ -74,9 +74,7 @@ void GWidget::handle_paint_event(GPaintEvent& event)
Painter painter(*this);
painter.fill_rect(event.rect(), background_color());
}
dbgprintf("GWidget{%p} handle_paint_event %s before calling paint_event()\n", this, event.rect().to_string().characters());
paint_event(event);
dbgprintf("GWidget{%p} handle_paint_event %s after calling paint_event()\n", this, event.rect().to_string().characters());
for (auto* ch : children()) {
auto* child = (GWidget*)ch;
if (child->relative_rect().intersects(event.rect())) {