mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
This patch adds a new add_tab() function in GUI::TabWidget that takes an already created NonnullRefPtr<Widget> object. This allows us to handle errors while creating the Tab object and then pass it to this function to actually add the object to the TabWidget.
5.8 KiB
5.8 KiB