summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/TabWidget.h
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 21:35:32 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-07 11:48:27 +0100
commit27fae783359ece05400dcbee66c50fee97cd1b0b (patch)
tree7918baf077884d287a8dce3ad7ccad9f9d1aaaf0 /Userland/Libraries/LibGUI/TabWidget.h
parente011eafd3790ca0375a4678a9cb2debd0ae95ac7 (diff)
downloadserenity-27fae783359ece05400dcbee66c50fee97cd1b0b.zip
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
Diffstat (limited to 'Userland/Libraries/LibGUI/TabWidget.h')
-rw-r--r--Userland/Libraries/LibGUI/TabWidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/TabWidget.h b/Userland/Libraries/LibGUI/TabWidget.h
index 9a9ef42189..68505769f2 100644
--- a/Userland/Libraries/LibGUI/TabWidget.h
+++ b/Userland/Libraries/LibGUI/TabWidget.h
@@ -121,7 +121,7 @@ protected:
virtual void doubleclick_event(MouseEvent&) override;
private:
- Gfx::IntRect child_rect_for_size(Gfx::IntSize const&) const;
+ Gfx::IntRect child_rect_for_size(Gfx::IntSize) const;
Gfx::IntRect button_rect(size_t index) const;
Gfx::IntRect vertical_button_rect(size_t index) const;
Gfx::IntRect horizontal_button_rect(size_t index) const;