diff options
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/HackStudio/ProcessStateWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/HackStudio/ProcessStateWidget.cpp b/DevTools/HackStudio/ProcessStateWidget.cpp index 2509f0944e..f195c91cd8 100644 --- a/DevTools/HackStudio/ProcessStateWidget.cpp +++ b/DevTools/HackStudio/ProcessStateWidget.cpp @@ -55,8 +55,8 @@ void ProcessStateWidget::refresh() auto& data = active_process_data.value(); m_pid_label->set_text(String::format("%s(%d)", data.name.characters(), pid)); - m_state_label->set_text(data.state); - m_cpu_label->set_text(String::format("%d", data.times_scheduled)); + m_state_label->set_text(data.threads.first().state); + m_cpu_label->set_text(String::format("%d", data.threads.first().times_scheduled)); m_memory_label->set_text(String::format("%d", data.amount_resident)); } |