summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Splitter.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-13 20:00:01 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-13 20:00:01 +0100
commitf88fe5dc3feba0a6a3e79fbd5dcee538d5e42d95 (patch)
tree61e62410db6e0889fad7c3c4eb723073fe03ac6f /Libraries/LibGUI/Splitter.h
parentfc562a3a9306e46f8690579e7826f5240c952ec9 (diff)
downloadserenity-f88fe5dc3feba0a6a3e79fbd5dcee538d5e42d95.zip
LibGUI: Don't assert when hovering spacing around single-child Splitter
Fixes #1215.
Diffstat (limited to 'Libraries/LibGUI/Splitter.h')
-rw-r--r--Libraries/LibGUI/Splitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Splitter.h b/Libraries/LibGUI/Splitter.h
index 1cf946b608..9d7a59dff8 100644
--- a/Libraries/LibGUI/Splitter.h
+++ b/Libraries/LibGUI/Splitter.h
@@ -50,7 +50,7 @@ protected:
private:
void recompute_grabbable_rect(const Widget&, const Widget&);
- void get_resize_candidates_at(const Gfx::Point&, Widget*&, Widget*&);
+ bool get_resize_candidates_at(const Gfx::Point&, Widget*&, Widget*&);
Orientation m_orientation;
bool m_resizing { false };