diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-04-21 15:12:09 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-21 17:24:42 +0200 |
commit | ded5ba1f8764e95e2c2b51e3e09200059a26c6c6 (patch) | |
tree | bffe0a79cefa010d8dcbcaee219db111fd18891f /Userland/Applications/KeyboardSettings | |
parent | 4d2e18fb07eba8130fccf1d0e7c8b62e76deae88 (diff) | |
download | serenity-ded5ba1f8764e95e2c2b51e3e09200059a26c6c6.zip |
LibGUI+Applications: Give SettingsWindow tabs a string ID
This gives us a convenient way to refer to them, which will be used in
the following commit.
Diffstat (limited to 'Userland/Applications/KeyboardSettings')
-rw-r--r-- | Userland/Applications/KeyboardSettings/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/KeyboardSettings/main.cpp b/Userland/Applications/KeyboardSettings/main.cpp index c6d0faf337..acc4f2076c 100644 --- a/Userland/Applications/KeyboardSettings/main.cpp +++ b/Userland/Applications/KeyboardSettings/main.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) 2020, Hüseyin Aslıtürk <asliturk@hotmail.com> - * Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org> + * Copyright (c) 2021-2022, Sam Atkins <atkinssj@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ @@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto window = TRY(GUI::SettingsWindow::create("Keyboard Settings")); window->set_icon(app_icon.bitmap_for_size(16)); - auto keyboard_settings_widget = TRY(window->add_tab<KeyboardSettingsWidget>("Keyboard")); + auto keyboard_settings_widget = TRY(window->add_tab<KeyboardSettingsWidget>("Keyboard", "keyboard")); window->on_active_window_change = [&](bool is_active_window) { keyboard_settings_widget->window_activated(is_active_window); |