summaryrefslogtreecommitdiff
path: root/LibGUI/GScrollBar.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-10 16:56:55 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-10 16:56:55 +0200
commitb8062f69d86e0dee9990cbffe627091faf7cc0ba (patch)
tree558d8ebbc5a2fdb6b6eea955b272c24b675cad06 /LibGUI/GScrollBar.cpp
parent696ada2810948ff6df7ef286ba5346c1d82c1d8c (diff)
downloadserenity-b8062f69d86e0dee9990cbffe627091faf7cc0ba.zip
LibCore: Add CEvent and make LibGUI/GEvent inherit from it.
Diffstat (limited to 'LibGUI/GScrollBar.cpp')
-rw-r--r--LibGUI/GScrollBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GScrollBar.cpp b/LibGUI/GScrollBar.cpp
index c51b039712..2f356bfa45 100644
--- a/LibGUI/GScrollBar.cpp
+++ b/LibGUI/GScrollBar.cpp
@@ -293,7 +293,7 @@ void GScrollBar::mousemove_event(GMouseEvent& event)
set_value(new_value);
}
-void GScrollBar::leave_event(GEvent&)
+void GScrollBar::leave_event(CEvent&)
{
if (m_hovered_component != Component::Invalid) {
m_hovered_component = Component::Invalid;