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
Notes: sideshowbarker 2024-07-19 02:00:08 +09:00
7 changed files with 21 additions and 21 deletions

View file

@ -70,5 +70,5 @@ void ProcessFileDescriptorMapWidget::set_pid(pid_t pid)
if (m_pid == pid)
return;
m_pid = pid;
m_model->set_json_path(String::format("/proc/%d/fds", m_pid));
m_model->set_json_path(String::formatted("/proc/{}/fds", m_pid));
}