mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-15 03:16:44 +02:00
This patch adds a new add_tab() function in GUI::SettingsWindow that takes an already created NonnullRefPtr<Tab> 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 SettingsWindow.
2.3 KiB
2.3 KiB