mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
Everywhere: Convert a handful of String::format() => formatted()
This commit is contained in:
parent
c90b7881a7
commit
c71807a3fc
23 changed files with 24 additions and 24 deletions
|
@ -120,7 +120,7 @@ void DirectoryView::handle_activation(const GUI::ModelIndex& index)
|
|||
if (default_launcher) {
|
||||
launch(url, *default_launcher);
|
||||
} else {
|
||||
auto error_message = String::format("Could not open %s", path.characters());
|
||||
auto error_message = String::formatted("Could not open {}", path);
|
||||
GUI::MessageBox::show(window(), error_message, "File Manager", GUI::MessageBox::Type::Error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue