mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-07 09:31:53 +00:00
HackStudio: Use new format functions.
This commit is contained in:
parent
3b601cd4bd
commit
7c4fb2b804
Notes:
sideshowbarker
2024-07-19 01:56:57 +09:00
Author: https://github.com/asynts
Commit: 7c4fb2b804
Pull-request: https://github.com/SerenityOS/serenity/pull/3731
23 changed files with 112 additions and 117 deletions
|
@ -93,7 +93,7 @@ GUI::Variant WidgetTreeModel::data(const GUI::ModelIndex& index, GUI::ModelRole
|
|||
return m_widget_icon;
|
||||
}
|
||||
if (role == GUI::ModelRole::Display) {
|
||||
return String::format("%s (%s)", widget->class_name(), widget->relative_rect().to_string().characters());
|
||||
return String::formatted("{} ({})", widget->class_name(), widget->relative_rect());
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue