summaryrefslogtreecommitdiff
path: root/Userland/Applications/TerminalSettings
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-03-10 19:04:13 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-16 09:58:42 +0100
commit446c600d093059dd2af3b357ea1c0c698c66d27d (patch)
tree54e29f3921bda384934647cd6cc539ff71a74f6e /Userland/Applications/TerminalSettings
parent797968c310d3b13f74968ba292e0b360d6d2d9c2 (diff)
downloadserenity-446c600d093059dd2af3b357ea1c0c698c66d27d.zip
LibGUI+Applications: Port SettingsWindow::add_tab() to the new string
Diffstat (limited to 'Userland/Applications/TerminalSettings')
-rw-r--r--Userland/Applications/TerminalSettings/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/TerminalSettings/main.cpp b/Userland/Applications/TerminalSettings/main.cpp
index af899f825c..22d79fe1c2 100644
--- a/Userland/Applications/TerminalSettings/main.cpp
+++ b/Userland/Applications/TerminalSettings/main.cpp
@@ -32,8 +32,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto window = TRY(GUI::SettingsWindow::create("Terminal Settings"));
window->set_icon(app_icon.bitmap_for_size(16));
- (void)TRY(window->add_tab<TerminalSettingsViewWidget>("View"sv, "view"sv));
- (void)TRY(window->add_tab<TerminalSettingsMainWidget>("Terminal"sv, "terminal"sv));
+ (void)TRY(window->add_tab<TerminalSettingsViewWidget>("View"_short_string, "view"sv));
+ (void)TRY(window->add_tab<TerminalSettingsMainWidget>(TRY("Terminal"_string), "terminal"sv));
window->set_active_tab(selected_tab);
window->show();