mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 09:01:53 +00:00
SystemMonitor: Use new format functions.
This commit is contained in:
parent
6ed3a4b5fe
commit
0dec600a2a
Notes:
sideshowbarker
2024-07-19 02:00:08 +09:00
Author: https://github.com/asynts
Commit: 0dec600a2a
Pull-request: https://github.com/SerenityOS/serenity/pull/3704
7 changed files with 21 additions and 21 deletions
|
@ -153,7 +153,7 @@ String ProcessModel::column_name(int column) const
|
|||
|
||||
static String pretty_byte_size(size_t size)
|
||||
{
|
||||
return String::format("%uK", size / 1024);
|
||||
return String::formatted("{}K", size / 1024);
|
||||
}
|
||||
|
||||
GUI::Variant ProcessModel::data(const GUI::ModelIndex& index, GUI::ModelRole role) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue