summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Splitter.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-26 00:06:48 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-26 00:51:35 +0200
commiteca6ff353ea6a0a127591a824cdb1c19e83a1bc1 (patch)
tree3214c41e1b9c8218ee8cdb9822d2a6a50d5fcce4 /Libraries/LibGUI/Splitter.cpp
parentac7853175655fd430986f8931f3a9409cb58982b (diff)
downloadserenity-eca6ff353ea6a0a127591a824cdb1c19e83a1bc1.zip
LibGUI: Make Splitter inherit from Widget instead of Frame
It wasn't using any of the Frame features, so I'm not sure what the idea here was.
Diffstat (limited to 'Libraries/LibGUI/Splitter.cpp')
-rw-r--r--Libraries/LibGUI/Splitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Splitter.cpp b/Libraries/LibGUI/Splitter.cpp
index 4f2c8debfe..c532ce926b 100644
--- a/Libraries/LibGUI/Splitter.cpp
+++ b/Libraries/LibGUI/Splitter.cpp
@@ -54,7 +54,7 @@ void Splitter::paint_event(PaintEvent& event)
void Splitter::resize_event(ResizeEvent& event)
{
- Frame::resize_event(event);
+ Widget::resize_event(event);
m_grabbable_rect = {};
}