diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-15 15:36:35 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-15 16:04:25 +0100 |
commit | 8fa2d7104a2ecc5d864fb04ba74f8fe18b3611d7 (patch) | |
tree | 31ed343a85374c02fe56f268209c7db131364765 /Widgets/Window.cpp | |
parent | 396a32835b40bdc5617d81f849556edf5459468e (diff) | |
download | serenity-8fa2d7104a2ecc5d864fb04ba74f8fe18b3611d7.zip |
More VFS cleanup.
Diffstat (limited to 'Widgets/Window.cpp')
-rw-r--r-- | Widgets/Window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Widgets/Window.cpp b/Widgets/Window.cpp index c281da1fd5..7c1e30ef83 100644 --- a/Widgets/Window.cpp +++ b/Widgets/Window.cpp @@ -57,7 +57,7 @@ void Window::event(Event& event) //printf("Window{%p}: %s %d,%d\n", this, me.name(), me.x(), me.y()); if (m_mainWidget) { auto result = m_mainWidget->hitTest(me.x(), me.y()); - //printf("hit test for %d,%d found: %s{%p} %d,%d\n", me.x(), me.y(), result.widget->className(), result.widget, result.localX, result.localY); + //printf("hit test for %d,%d found: %s{%p} %d,%d\n", me.x(), me.y(), result.widget->class_name(), result.widget, result.localX, result.localY); // FIXME: Re-use the existing event instead of crafting a new one? auto localEvent = make<MouseEvent>(event.type(), result.localX, result.localY, me.button()); return result.widget->event(*localEvent); @@ -67,7 +67,7 @@ void Window::event(Event& event) if (event.isPaintEvent()) { auto& pe = static_cast<PaintEvent&>(event); - printf("Window[\"%s\"]: paintEvent %d,%d %dx%d\n", className(), + printf("Window[\"%s\"]: paintEvent %d,%d %dx%d\n", class_name(), pe.rect().x(), pe.rect().y(), pe.rect().width(), |