mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:44:58 +00:00
LibGUI: Use String::formatted() and String::number() more
This commit is contained in:
parent
5e157eaf37
commit
f181ddb56a
9 changed files with 17 additions and 20 deletions
|
@ -123,7 +123,7 @@ void FileSystemModel::Node::traverse_if_needed()
|
|||
quick_sort(child_names);
|
||||
|
||||
for (auto& name : child_names) {
|
||||
String child_path = String::format("%s/%s", full_path.characters(), name.characters());
|
||||
String child_path = String::formatted("{}/{}", full_path, name);
|
||||
auto child = adopt_own(*new Node(m_model));
|
||||
bool ok = child->fetch_data(child_path, false);
|
||||
if (!ok)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue