summaryrefslogtreecommitdiff
path: root/Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp')
-rw-r--r--Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp b/Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp
index 6dab95dedd..bcc461ede8 100644
--- a/Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp
+++ b/Applications/ProcessManager/ProcessFileDescriptorMapWidget.cpp
@@ -16,8 +16,8 @@ ProcessFileDescriptorMapWidget::ProcessFileDescriptorMapWidget(GWidget* parent)
pid_fds_fields.empend("class", "Class", TextAlignment::CenterLeft);
pid_fds_fields.empend("offset", "Offset", TextAlignment::CenterRight);
pid_fds_fields.empend("absolute_path", "Path", TextAlignment::CenterLeft);
- pid_fds_fields.empend("seekable", "Access", TextAlignment::CenterLeft, [](auto& data) {
- return data.to_bool() ? "Seekable" : "Sequential";
+ pid_fds_fields.empend("Access", TextAlignment::CenterLeft, [](auto& object) {
+ return object.get("seekable").to_bool() ? "Seekable" : "Sequential";
});
m_table_view->set_model(GJsonArrayModel::create({}, move(pid_fds_fields)));