1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 23:45:10 +00:00

SystemMonitor: Use new format functions.

This commit is contained in:
asynts 2020-10-06 18:04:36 +02:00 committed by Andreas Kling
parent 6ed3a4b5fe
commit 0dec600a2a
7 changed files with 21 additions and 21 deletions

View file

@ -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