1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

GamesSettings: Move classes into the GamesSettings namespace

This is to allow registering future classes as with GML.
This commit is contained in:
Timothy Flynn 2023-01-12 14:45:11 -05:00 committed by Sam Atkins
parent e241b47fee
commit 208653a93c
3 changed files with 9 additions and 1 deletions

View file

@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto window = TRY(GUI::SettingsWindow::create("Games Settings", GUI::SettingsWindow::ShowDefaultsButton::Yes));
window->set_icon(app_icon.bitmap_for_size(16));
(void)TRY(window->add_tab<CardSettingsWidget>("Cards"sv, "cards"sv));
(void)TRY(window->add_tab<GamesSettings::CardSettingsWidget>("Cards"sv, "cards"sv));
window->set_active_tab(selected_tab);
window->show();