1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

LibGUI: Use String::formatted() and String::number() more

This commit is contained in:
Andreas Kling 2021-01-03 14:51:17 +01:00
parent 5e157eaf37
commit f181ddb56a
9 changed files with 17 additions and 20 deletions

View file

@ -43,7 +43,7 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window
, m_icon(icon)
{
resize(413, 205);
set_title(String::format("About %s", m_name.characters()));
set_title(String::formatted("About {}", m_name));
set_resizable(false);
if (parent_window)