summaryrefslogtreecommitdiff
path: root/Userland/Applications/FileManager/PropertiesWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/FileManager/PropertiesWindow.cpp')
-rw-r--r--Userland/Applications/FileManager/PropertiesWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/FileManager/PropertiesWindow.cpp b/Userland/Applications/FileManager/PropertiesWindow.cpp
index f268ddd690..b9a8a73b34 100644
--- a/Userland/Applications/FileManager/PropertiesWindow.cpp
+++ b/Userland/Applications/FileManager/PropertiesWindow.cpp
@@ -154,17 +154,17 @@ ErrorOr<void> PropertiesWindow::create_widgets(bool disable_rename)
TRY(button_widget->add_spacer());
- auto ok_button = TRY(make_button(String::from_utf8_short_string("OK"sv), button_widget));
+ auto ok_button = TRY(make_button("OK"_short_string, button_widget));
ok_button->on_click = [this](auto) {
if (apply_changes())
close();
};
- auto cancel_button = TRY(make_button(String::from_utf8_short_string("Cancel"sv), button_widget));
+ auto cancel_button = TRY(make_button("Cancel"_short_string, button_widget));
cancel_button->on_click = [this](auto) {
close();
};
- m_apply_button = TRY(make_button(String::from_utf8_short_string("Apply"sv), button_widget));
+ m_apply_button = TRY(make_button("Apply"_short_string, button_widget));
m_apply_button->on_click = [this](auto) { apply_changes(); };
m_apply_button->set_enabled(false);