mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
LibGUI: Use String::formatted() and String::number() more
This commit is contained in:
parent
5e157eaf37
commit
f181ddb56a
Notes:
sideshowbarker
2024-07-19 00:10:10 +09:00
Author: https://github.com/awesomekling
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