summaryrefslogtreecommitdiff
path: root/LibGUI/GWindow.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-21 00:46:08 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-21 00:54:35 +0100
commitd66b0f7dd8a993d465c7f5e84f7f975cb3d9670e (patch)
tree4055f4eb597ee27d2478b71fd0177d4dddb14b0f /LibGUI/GWindow.cpp
parent6c4f1bad0947e6b9f36af37cda61e57fecd68025 (diff)
downloadserenity-d66b0f7dd8a993d465c7f5e84f7f975cb3d9670e.zip
LibGUI: Mass coding style fixes.
Diffstat (limited to 'LibGUI/GWindow.cpp')
-rw-r--r--LibGUI/GWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GWindow.cpp b/LibGUI/GWindow.cpp
index 53899e45ec..1131b82910 100644
--- a/LibGUI/GWindow.cpp
+++ b/LibGUI/GWindow.cpp
@@ -91,7 +91,7 @@ void GWindow::event(GEvent& event)
return;
auto& mouse_event = static_cast<GMouseEvent&>(event);
if (m_main_widget) {
- auto result = m_main_widget->hitTest(mouse_event.x(), mouse_event.y());
+ auto result = m_main_widget->hit_test(mouse_event.x(), mouse_event.y());
auto local_event = make<GMouseEvent>(event.type(), Point { result.localX, result.localY }, mouse_event.buttons(), mouse_event.button());
ASSERT(result.widget);
return result.widget->event(*local_event);