diff options
Diffstat (limited to 'Userland/Applications/SystemMonitor/ProcessStateWidget.cpp')
-rw-r--r-- | Userland/Applications/SystemMonitor/ProcessStateWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp b/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp index 91bdbdeb3f..c7a0b6b8f3 100644 --- a/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp +++ b/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp @@ -88,7 +88,7 @@ ProcessStateWidget::ProcessStateWidget(pid_t pid) m_table_view = add<GUI::TableView>(); m_table_view->column_header().set_visible(false); m_table_view->column_header().set_section_size(0, 90); - m_table_view->set_model(adopt(*new ProcessStateModel(ProcessModel::the(), pid))); + m_table_view->set_model(adopt_ref(*new ProcessStateModel(ProcessModel::the(), pid))); } ProcessStateWidget::~ProcessStateWidget() |