From 27fae783359ece05400dcbee66c50fee97cd1b0b Mon Sep 17 00:00:00 2001 From: MacDue Date: Tue, 6 Dec 2022 21:35:32 +0000 Subject: Meta+Userland: Pass Gfx::IntSize by value Just two ints like Gfx::IntPoint. --- Userland/Libraries/LibGUI/TabWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/TabWidget.h') 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; -- cgit v1.2.3