summaryrefslogtreecommitdiff
path: root/Userland/Applications/NetworkSettings/main.cpp
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/NetworkSettings/main.cpp
parent797968c310d3b13f74968ba292e0b360d6d2d9c2 (diff)
downloadserenity-446c600d093059dd2af3b357ea1c0c698c66d27d.zip
LibGUI+Applications: Port SettingsWindow::add_tab() to the new string
Diffstat (limited to 'Userland/Applications/NetworkSettings/main.cpp')
-rw-r--r--Userland/Applications/NetworkSettings/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/NetworkSettings/main.cpp b/Userland/Applications/NetworkSettings/main.cpp
index 63270f49cf..2c78fdc633 100644
--- a/Userland/Applications/NetworkSettings/main.cpp
+++ b/Userland/Applications/NetworkSettings/main.cpp
@@ -44,7 +44,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
auto app_icon = GUI::Icon::default_icon("network"sv);
auto window = TRY(GUI::SettingsWindow::create("Network Settings", GUI::SettingsWindow::ShowDefaultsButton::No));
- auto network_settings_widget = TRY(window->add_tab<NetworkSettings::NetworkSettingsWidget>("Network"sv, "network"sv));
+ auto network_settings_widget = TRY(window->add_tab<NetworkSettings::NetworkSettingsWidget>("Network"_short_string, "network"sv));
if (!adapter.is_null()) {
network_settings_widget->switch_adapter(adapter);
}