summaryrefslogtreecommitdiff
path: root/Userland/Applications/FileManager/FileUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/FileManager/FileUtils.cpp')
-rw-r--r--Userland/Applications/FileManager/FileUtils.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Applications/FileManager/FileUtils.cpp b/Userland/Applications/FileManager/FileUtils.cpp
index fdcc66b7dc..f74fc80a0e 100644
--- a/Userland/Applications/FileManager/FileUtils.cpp
+++ b/Userland/Applications/FileManager/FileUtils.cpp
@@ -29,7 +29,7 @@ void delete_paths(Vector<String> const& paths, bool should_confirm, GUI::Window*
if (should_confirm) {
auto result = GUI::MessageBox::show(parent_window,
message,
- "Confirm deletion",
+ "Confirm deletion"sv,
GUI::MessageBox::Type::Warning,
GUI::MessageBox::InputType::OKCancel);
if (result == GUI::MessageBox::ExecResult::Cancel)
@@ -51,17 +51,17 @@ ErrorOr<void> run_file_operation(FileOperation operation, Vector<String> const&
TRY(Core::System::dup2(pipe_fds[1], STDOUT_FILENO));
Vector<StringView> file_operation_args;
- file_operation_args.append("/bin/FileOperation");
+ file_operation_args.append("/bin/FileOperation"sv);
switch (operation) {
case FileOperation::Copy:
- file_operation_args.append("Copy");
+ file_operation_args.append("Copy"sv);
break;
case FileOperation::Move:
- file_operation_args.append("Move");
+ file_operation_args.append("Move"sv);
break;
case FileOperation::Delete:
- file_operation_args.append("Delete");
+ file_operation_args.append("Delete"sv);
break;
default:
VERIFY_NOT_REACHED();