mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 00:48:11 +00:00
FileManager: Remove use of copy_ref().
This commit is contained in:
parent
7faf878e0a
commit
c0742e4c23
2 changed files with 14 additions and 14 deletions
|
@ -52,7 +52,7 @@ DirectoryView::DirectoryView(GWidget* parent)
|
|||
m_item_view->set_model(model());
|
||||
|
||||
m_table_view = new GTableView(this);
|
||||
m_table_view->set_model(GSortingProxyModel::create(m_model.copy_ref()));
|
||||
m_table_view->set_model(GSortingProxyModel::create(m_model));
|
||||
|
||||
m_table_view->model()->set_key_column_and_sort_order(GDirectoryModel::Column::Name, GSortOrder::Ascending);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue