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:
parent
e241b47fee
commit
208653a93c
3 changed files with 9 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue