mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:08:12 +00:00
LibGUI: Convert GItemView to ObjectPtr
This commit is contained in:
parent
93851c3832
commit
c13b9e2214
3 changed files with 4 additions and 3 deletions
|
@ -76,7 +76,7 @@ DirectoryView::DirectoryView(GWidget* parent)
|
|||
, m_model(GDirectoryModel::create())
|
||||
{
|
||||
set_active_widget(nullptr);
|
||||
m_item_view = new GItemView(this);
|
||||
m_item_view = GItemView::construct(this);
|
||||
m_item_view->set_model(model());
|
||||
|
||||
m_table_view = new GTableView(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue