diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-21 00:46:08 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-21 00:54:35 +0100 |
commit | d66b0f7dd8a993d465c7f5e84f7f975cb3d9670e (patch) | |
tree | 4055f4eb597ee27d2478b71fd0177d4dddb14b0f /LibGUI/GWindow.cpp | |
parent | 6c4f1bad0947e6b9f36af37cda61e57fecd68025 (diff) | |
download | serenity-d66b0f7dd8a993d465c7f5e84f7f975cb3d9670e.zip |
LibGUI: Mass coding style fixes.
Diffstat (limited to 'LibGUI/GWindow.cpp')
-rw-r--r-- | LibGUI/GWindow.cpp | 2 |
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); |