summaryrefslogtreecommitdiff
path: root/Userland/Applications/FileManager
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-02-25 16:40:37 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-25 20:51:49 +0100
commit09d40bfbb24588b5659f17e2701b5c367a447110 (patch)
tree8a5612e3251e504ab41d0ff5c7a1a7f70c2593b0 /Userland/Applications/FileManager
parent85414d9338f5b4a25f46f519c07af161c48af45d (diff)
downloadserenity-09d40bfbb24588b5659f17e2701b5c367a447110.zip
Everywhere: Use _{short_,}string to create Strings from literals
Diffstat (limited to 'Userland/Applications/FileManager')
-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);