summaryrefslogtreecommitdiff
path: root/Widgets/Painter.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-09 04:46:16 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-09 04:46:16 +0100
commitcfd76ade73ded8d0addb2bce1e17176be53484c7 (patch)
tree1c9e3614ada8b2c54293d55c232df8962003b271 /Widgets/Painter.cpp
parentf3ec96a1b9007f02a4e1b2d2e82a2fe043c6e458 (diff)
downloadserenity-cfd76ade73ded8d0addb2bce1e17176be53484c7.zip
Stop recomposing the window hierarchy after every dang widget paint.
Diffstat (limited to 'Widgets/Painter.cpp')
-rw-r--r--Widgets/Painter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Widgets/Painter.cpp b/Widgets/Painter.cpp
index 2c2574bf38..350e39587e 100644
--- a/Widgets/Painter.cpp
+++ b/Widgets/Painter.cpp
@@ -21,8 +21,6 @@ Painter::Painter(Widget& widget)
Painter::~Painter()
{
- if (m_window)
- m_window->did_paint();
}
void Painter::fillRect(const Rect& rect, Color color)